Created
April 8, 2014 21:16
-
-
Save marcuslilja/10193763 to your computer and use it in GitHub Desktop.
Save a repository as deprecated.
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
repo_destiny -> marcuslilja/deprecated | |
repo_source -> marcuslilja/my-repository | |
git clone [email protected]:${repo_source}.git | |
git clean -fd | |
git reset --hard | |
git checkout master | |
git pull -f origin master | |
git checkout -B ${repo_source} | |
git push -f [email protected]:${repo_destiny}.git ${repo_source} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment