Skip to content

WebExtension to prevent GitHub instructions from moving branches

License

Notifications You must be signed in to change notification settings

fionn/github-static-branch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub Static Branch

GitHub recently changed its new repository instructions.

 git remote add origin [email protected]:user/repo.git
-git push -u origin master
+git branch -M main
+git push -u origin main

The above will move your current branch to main.

This extension will remove all instructions that unexpectedly move branches.