Created
January 28, 2017 03:41
-
-
Save fpigeonjr/0ce978e8957eea9e030e65d3790bf05d to your computer and use it in GitHub Desktop.
when you want to pull down a repo and all branches
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
# when you want to pull down a repo and all branches | |
git clone --bare ${github url} .git //pull downs all branches of repo | |
git config --bool core.bare false //convert to regular repo | |
git reset --hard //finishes process |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment