0

I have two branches one to pull and the other to work from my instructor made. The main branch is pulling but the working branch isn't. I tried pulling from the working branch, this is the message I'm getting.

" 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> working-branch"

I thought if the main branch updates so does the other branch.

I tried git pull and git pull origin-main as well as git fetch not working

  • nope if the main branch updates, it will a have to be merged into the current working branch. `git merge origin/main` will do that on the local instance. – Josh Beauregard Feb 17 '23 at 16:22

0 Answers0