Skip to content

Instantly share code, notes, and snippets.

View saitejaveera's full-sized avatar

Saiteja saitejaveera

View GitHub Profile
@saitejaveera
saitejaveera / basic-git-commands
Created October 19, 2011 11:17 — forked from pcx/basic-git-commands
Bsic git command reference
git status -s
first column --> shows difference between committed and staged
second column --> shows difference between staged and unstaged
git diff --> changes between staged and unstaged
git diff --cached --> diff between committed and staged changes
git diff HEAD --> diff between committed and unstaged
--stat --> shorter summary of changes