[Git:change] Add a command to show a file as it appeared at <commit id>.

This commit is contained in:
ImmortalPC 2014-01-07 11:33:36 +01:00
parent 2acf73476c
commit e131dce6bb

View File

@ -38,6 +38,7 @@ git checkout master # Checkout local master
git checkout -b new_branch # Create and checkout a new branch
git merge upstream/master # Merge remote into local repo
git show 83fb499 # Show what a commit did.
git show 83fb499:path/fo/file.ext # Shows the file as it appeared at 83fb499.
git diff branch_1 branch_2 # Check difference between branches
git log # Show all the commits
git status # Show the changes from last commit