Added command to set git upstream, useful when pulling down changes.

This commit is contained in:
Donne Martin 2015-08-20 06:45:49 -04:00
parent 9195809015
commit 27d8826f13

View File

@ -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",