diff --git a/commands/misc.ipynb b/commands/misc.ipynb index bdaa638..fbb3d70 100644 --- a/commands/misc.ipynb +++ b/commands/misc.ipynb @@ -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",