开发者

Git fetch/pull does not update local repository even though there are changes on origin

开发者 https://www.devze.com 2023-02-10 10:01 出处:网络
I have a git repository on my local machine tracking a remote repository (origin) on github. There are 5 days of changes on github on the master branch, yet when I enter git pull origin master or even

I have a git repository on my local machine tracking a remote repository (origin) on github. There are 5 days of changes on github on the master branch, yet when I enter git pull origin master or even git fetch I get a message saying everything is up to date even though it isn't. I think the issue may go back to a rebase that messed up that I didn't abort out of. 开发者_如何学PythonDoes anyone have any clues how I can get my local repository to update with the changes on origin?


Did you try a merge?

git merge origin master

0

精彩评论

暂无评论...
验证码 换一张
取 消