Created
March 16, 2017 10:22
-
-
Save Cyber-Neuron/6d070545f85d490c161df81703cf2a22 to your computer and use it in GitHub Desktop.
Git commands
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
set to bare: git config --bool core.bare true | |
switch branch in bare: git symbolic-ref HEAD refs/heads/XXXXX | |
push to remote: git push REMOTE_NAME BRANCH_NAME | |
add a remote working copy: git remote add pb https://github.com/paulboone/ticgit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
switch bare branch
git symbolic-ref HEAD refs/heads/mybranch