I try to pull (just by "git pull") and it does not work with the following error message:
There is no tracking information for the current branch.
Please specify which branch you want to merge with.
See git-pull(1) for details.
git pull <remote> <branch>
If you wish to set tracking information for this branch you can do so with:
git branch --set-upstream-to=origin/<branch> mainline_new
I do not understand what this message mean. Git wants to know what branch I want to merge with. Well, I want to merge the remote branch (that is pulled by default) with the local branch which I am currently in.
I guess I do not want to "set tracking" (how can I want something if I do not know what it is). I just want to copy the latest changes from the remote repository into the current branch of my local repository.