Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Git Push Different Branch Names
git push origin <local_branch>:<remote_branch>  
git push --force-with-lease origin <local_branch>:<remote_branch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment