Created
May 4, 2010 03:00
-
-
Save fschwiet/388891 to your computer and use it in GitHub Desktop.
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 CHEAT SHEET | |
git status - | |
A view of what you're working on. Shows whats files staged to checkin, and whats not yet been staged. | |
gitk / menu option "start gui" - | |
A graphical UI for reviewing current changes and staging them for checkin | |
git diff | |
Shows changes between current source tree and what is staged for commit | |
git diff --cached | |
Shows changes that are staged for commit | |
git show-ref | |
Shows all reference (branches, remote branches, ...) | |
git ls-remote <remote reference> | |
Shows all branches on a remote repository | |
git branch -r | |
Shows all branches (?) | |
git show-branch -a | |
graph of branches versus commits (?) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment