mirror of
https://github.com/donnemartin/data-science-ipython-notebooks.git
synced 2024-03-22 13:30:56 +08:00
Added command to set git upstream, useful when pulling down changes.
This commit is contained in:
parent
9195809015
commit
27d8826f13
|
@ -252,8 +252,12 @@
|
|||
"!git pull origin master\n",
|
||||
"\n",
|
||||
"# Configuring a remote for a fork\n",
|
||||
"!git remote -v\n",
|
||||
"!git remote add upstream [target]\n",
|
||||
"\n",
|
||||
"# Set remote upstream\n",
|
||||
"git branch --set-upstream-to origin/branch\n",
|
||||
"\n",
|
||||
"# Check remotes\n",
|
||||
"!git remote -v\n",
|
||||
"\n",
|
||||
"# Syncing a fork\n",
|
||||
|
|
Loading…
Reference in New Issue
Block a user