Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict rewriting history to exclude specific branch

Vivek Chitturi
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 25, 2025

we use script runner for restricting rewriting history to all (*) branches, but we are facing problem when developers wanted to squash their commits on feature branch.
I tried multiple approaches like including all branches that wanted to be restricted but couldn't exclude specific branch (feature) for allowing squash and all remaining branches to have the restriction. Open for any suggestions.

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events