Github Desktop master not updating after merge branch -
when use github desktop merge local branch master, looks on remote version. master branch on github desktop doesn't update. when click sync
, following error message:
project has been updated on https://github.com/user/project.git since last synced. can try syncing again or run
git pull origin master && git push origin master
command line.
when follow error message instructions, updated properly. next time pull , merge branches, same thing occurs.
any thoughts on may have done cause , how can resolved?
maybe local master branch has no upstream branch.
next time, when following instructions, try:
git pull origin master && git push -u origin master
the -u
ensure master has origin/master upstream branch.
sync should work.
Comments
Post a Comment