mirror of
https://github.com/donnemartin/data-science-ipython-notebooks.git
synced 2024-03-22 13:30:56 +08:00
Added commands to ammend a git commit message. Fixed some git commands not being prefixed with an exclamation mark.
This commit is contained in:
parent
d35262c142
commit
0cc73c682b
|
@ -10,7 +10,8 @@
|
|||
"* IPython Notebook\n",
|
||||
"* Git\n",
|
||||
"* Ruby\n",
|
||||
"* Jekyll"
|
||||
"* Jekyll\n",
|
||||
"* Django"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
@ -214,7 +215,11 @@
|
|||
"!git checkout — [target]\n",
|
||||
"\n",
|
||||
"# Undo commit but leave files and index\n",
|
||||
"git reset --soft HEAD~1\n",
|
||||
"!git reset --soft HEAD~1\n",
|
||||
"\n",
|
||||
"# Amend commit message of most recent change\n",
|
||||
"!git commit --amend\n",
|
||||
"!git push --force [branch]\n",
|
||||
"\n",
|
||||
"# Create a branch\n",
|
||||
"!git branch [branch]\n",
|
||||
|
@ -256,7 +261,7 @@
|
|||
"!git format-patch origin/master\n",
|
||||
"\n",
|
||||
"# GitHub tutorial:\n",
|
||||
"!http://try.github.io/levels/1/challenges/9\n",
|
||||
"http://try.github.io/levels/1/challenges/9\n",
|
||||
"\n",
|
||||
"# BitBucket Setup\n",
|
||||
"!cd /path/to/my/repo\n",
|
||||
|
@ -395,7 +400,7 @@
|
|||
"name": "python",
|
||||
"nbconvert_exporter": "python",
|
||||
"pygments_lexer": "ipython2",
|
||||
"version": "2.7.9"
|
||||
"version": "2.7.10"
|
||||
}
|
||||
},
|
||||
"nbformat": 4,
|
||||
|
|
Loading…
Reference in New Issue
Block a user