Tag Archives: Git Commands

Git Set UpStream – What Does It Do & How To Use It?

Git Set Upstream

Git –set-upstream is now used as –set-upstream-to. Previously it was used as git branch –set-upstream <remote-branch> (may still work for many) The basic git –set-upstream-to command is demonstrated below with an example. git branch –set-upstream-to <remote-branch> The use of –set-upstream along with the git branch command was ambiguous, so maybe that’s why they have changed […]