Skip to main content

Make the main branch read-only only when an active branch exists


D-sine

When an active branch is open, making the main branch read-only can help prevent accidental changes to the main file. This would reduce the chances of someone (like myself) mistakenly editing the main branch when they meant to be working in a separate branch. Sometimes I don’t even realize I’m still on the main branch until after making changes—this feature would help avoid that confusion.

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings