5 FAQ
5.1 Why set an upstream branch for a local branch?
- Can use short hand commands
git push
andgit pull
without specifyingorigin <branch>
- Git can inform on uncyned commits which haven’t been pushed/pulled yet
Source: Tower - Set Upstream
Source: Stackoverflow - why use --set-upstream