Refer to the pull code error: cannot lock ref ‘refs/remotes/origin/xxx’: ref XXX is at OOo expected XXX
Method: execute git remote prune origin
to refresh the difference between remote and local
The author said that it needs to be in the root directory. If it is not in the root directory, it is speculated that there will be a pit of local refresh
Similar Posts:
- Git pull Error: “unable to update local ref”
- Git clone download code prompts that the file pointed to by head does not exist
- Git pull does not specify an error message for the branch
- [How to Solve] fatal: No remote repository specified. Please, specify either a URL…
- Git Unable to switch remote branches error: pathspec ‘origin/XXXX’ did not match any file(s) known to git
- [Solved] gitee Push Error: error: failed to push some refs to
- [Solved] error: cannot lock ref ‘refs/remotes/origin/[branch]’
- fatal:’origin’ does not appear to be a git repository fatal:Could not read from remote re…
- Git pull Error: error: Your local changes to the following files would be overwritten by merge: