From acea96b02dea149fa30d17655ec490eb240e3328 Mon Sep 17 00:00:00 2001 From: iamsudip Date: Sat, 19 Oct 2013 13:01:02 +0530 Subject: [PATCH] Updated git cheatsheet little --- cheatsheets/git | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cheatsheets/git b/cheatsheets/git index fb5a1c7..94e98e1 100644 --- a/cheatsheets/git +++ b/cheatsheets/git @@ -26,5 +26,8 @@ git remote -v # Confirm new remote rep git fetch upstream # Get branches git branch -va # List local - remote branches 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 show 83fb499 # Show what a commit did. +git log # Show all the commits +git status # Show the changes from last commit