Skip to content

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 git@github.com: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.

About

WebExtension to prevent GitHub instructions from moving branches

Topics

Resources

License

Stars

Watchers

Forks

Contributors