Created
August 18, 2010 18:27
-
-
Save unicornrainbow/535717 to your computer and use it in GitHub Desktop.
Favorite 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
# This is a list of my favorite git commands. | |
# Keep a clean history by rebasing when you pull. | |
git pull --rebase | |
# Short and sweet output for the most used git command. | |
git status -s | |
# One line output from git log is usually enough and gives you a better overall picture. | |
git log --oneline | |
# Ignore whitespace when looking at a diff. | |
git diff -w |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment