mirror of
https://github.com/cheat/cheat.git
synced 2024-12-18 18:55:06 +01:00
Merge pull request #114 from iamsudip/gitcpatch
Updated git cheatsheet little
This commit is contained in:
commit
7bbe9279e1
@ -26,5 +26,8 @@ git remote -v # Confirm new remote rep
|
|||||||
git fetch upstream # Get branches
|
git fetch upstream # Get branches
|
||||||
git branch -va # List local - remote branches
|
git branch -va # List local - remote branches
|
||||||
git checkout master # Checkout local master branch
|
git checkout master # Checkout local master branch
|
||||||
|
git checkout -b branch # Create and checkout a new branch
|
||||||
git merge upstream/master # Merge remote into local repo
|
git merge upstream/master # Merge remote into local repo
|
||||||
git show 83fb499 # Show what a commit did.
|
git show 83fb499 # Show what a commit did.
|
||||||
|
git log # Show all the commits
|
||||||
|
git status # Show the changes from last commit
|
||||||
|
Loading…
Reference in New Issue
Block a user