mirror of
https://github.com/donnemartin/data-science-ipython-notebooks.git
synced 2024-03-22 13:30:56 +08:00
Added git command to undo commit but leave files and index.
This commit is contained in:
parent
1cdb2ae856
commit
0463617683
|
@ -210,6 +210,9 @@
|
|||
"# Undo a file that has not been added\n",
|
||||
"!git checkout — [target]\n",
|
||||
"\n",
|
||||
"# Undo commit but leave files and index\n",
|
||||
"git reset --soft HEAD~1\n",
|
||||
"\n",
|
||||
"# Create a branch\n",
|
||||
"!git branch [branch]\n",
|
||||
"\n",
|
||||
|
|
Loading…
Reference in New Issue
Block a user