I\'m trying to track an exiting branch to a remote branch using --track or --set-upstream-to, but got the following error
--track
--set-upstream-to
$ git branch
I think I got it, it will be as the following (used --set-upstream-to + remote name)
$ git branch --set-upstream-to origin/master Branch master set up to track remote branch master from origin.