I am a Git newbie, I have tried to follow this doc below but I keep getting errors:
.1)Set your master branch to track the original repo's master branch.
i.) git checkout master
ii.) git branch -u matestream/master
I.) I went and checkout master branch
lugalaf@ITWEBDEV01 MINGW64 /c/Applications/TeamMates/
II.)Then I issued second command and got the following error:-
$ git branch -u matestream/master
error: the requested upstream branch 'matestream/master' does not exist
hint: If you are planning on basing your work on an upstream
hint: branch that already exists at the remote, you may need to
hint: run "git fetch" to retrieve it.
hint: If you are planning to push out a new local branch that
hint: will track its remote counterpart, you may want to use
hint: "git push -u" to set the upstream config as you push
When I do git remote to confirm my remote branches, I found the branch is already there.Anything I am missing please?
$ git remote -v
matestream https://github.com/TEAMMATES/teammates.git (fetch)
matestream https://github.com/TEAMMATES/teammates.git (push)
origin https://github.com/FrankSD/teammates.git (fetch)
origin https://github.com/FrankSD/teammates.git (push)