Last active
August 29, 2015 14:18
-
-
Save jrdmb/4bf1490a8d3219d1bf74 to your computer and use it in GitHub Desktop.
GitHub and Gist Tips
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
To list remote Git branches (from: http://rakhesh.com/coding/list-remote-branches/): | |
git ls-remote | |
git remote show origin | |
Create and delete local and remote Git branches | |
http://rakhesh.com/coding/creating-and-delete-remote-git-branches/ | |
Move the .git folder out of the working tree | |
http://rakhesh.com/coding/how-to-move-separate-the-git-folder-out-of-your-working-tree/ | |
Add only untracked files | |
git add -i. Type a (for "add untracked"), then * (for "all"), then q (to quit) | |
http://stackoverflow.com/questions/7446640/adding-only-untracked-files | |
#github #git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment