在一个linux机器上有git远程仓库,在一个win xp机器上git clone该仓库上的代码下来。其他人向仓库push代码变更后,我这里再git pull更新就不成功,提示如下图:
只有删掉本地的仓库,重新git clone才能得到最新代码。
google了好多帖子,也没发现有同样问题的,请教下这里的各位。谢谢。
小伙看你根骨奇佳,潜力无限,来学PHP伐。
1. Switch to another Linux machine to see if it can pull 2. Check the permissions of the git repository 3. Check whether it is a problem with the git version
Check if the git software is installed incorrectly. Maybe 64-bit software is installed on the 32-bit system. Or vice versa.
For git on windows, it is recommended to use the graphical interface----github for windows
git pull origin master
1. Switch to another Linux machine to see if it can pull
2. Check the permissions of the git repository
3. Check whether it is a problem with the git version
Check if the git software is installed incorrectly. Maybe 64-bit software is installed on the 32-bit system. Or vice versa.
For git on windows, it is recommended to use the graphical interface----github for windows
git pull origin master