I created a new branch and made changes to the code and attempted to push
git add . git checkout -b newbranch git commit -m "commit" git push origin newbranch I get error : failed to push some refs .. updates were rejected because the tip of your current branch is behind its remote counterpart..
if I do git pull or git pull --rebase, I get
there is no tracking information for the current branch. Please specify which branch you want to merge with if I try git rebase origin/main and git pull origin main --rebase, it says
current branch newbranch is up to date if I try git pull origin/main and git pull main, it says
fatal: origin/main does not appear to be a git repository if I try git pull origin main, it says
fatal: not possible to fast-forward, aborting can anyone help?
git pull origin newbranch.