Last active
December 24, 2015 00:29
-
-
Save bradurani/6717639 to your computer and use it in GitHub Desktop.
Archive local branch in Git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git tag archive/<branchname> <branchname> | |
git branch -d <branchname> | |
#checkout archived branch | |
git checkout -b <branchname> archive/<branchname> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment