Added git command to show log and diff of commit.

pull/57/head
Donne Martin 2015-04-27 21:16:25 -04:00
parent a182edc1d5
commit ce2749f6c5
1 changed files with 3 additions and 0 deletions

View File

@ -204,6 +204,9 @@
"!git diff --staged\n",
"!git diff --cached\n",
"\n",
"# Show log message of commit and diff\n",
"!git show $COMMIT\n",
"\n",
"# Undo a file that has not been added\n",
"!git checkout — [target]\n",
"\n",