mirror of
https://github.com/donnemartin/data-science-ipython-notebooks.git
synced 2024-03-22 13:30:56 +08:00
Added git command to show log and diff of commit.
This commit is contained in:
parent
a182edc1d5
commit
ce2749f6c5
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user