Skip to content

Instantly share code, notes, and snippets.

View bioform's full-sized avatar

Andrew Krasnoff bioform

View GitHub Profile
@bioform
bioform / gist:2db00f5d2cb8c53e8ff0e365edeb3b68
Created December 26, 2017 09:59 — forked from lttlrck/gist:9628955
rename git branch locally and remotely
git branch -m old_branch new_branch # Rename branch locally
git push origin :old_branch # Delete the old branch
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote