我有一个基本存储库,它位于UNC\machine\share ....等.我有一个本地克隆,我在主分支工作,偶尔合并到"稳定"分支.
通常我做一个
git push --all
将所有分支中的所有更改移动到服务器.创建新分支后
git branch MultiCompany
然后将其推送到服务器
git push --all
这也在服务器上创建了分支.我做了一些工作,在多公司分支中提交了所有更改然后尝试做了
git push --all
并得到以下错误:
cdturner@OAHU ~/desktop/git sourcetree/maerekai.web.framework (multicompany)
$ git push --all
Counting objects: 28, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (22/22), done.
Writing objects: 100% (23/23), 11.34 KiB, done.
Total 23 (delta 8), reused 0 (delta 0)
Unpacking objects: 100% (23/23), done.
error: Ref refs/heads/multicompany is at bd5a32df35ce8d5ae30ce999af34c4c5f35581df but expected 0000000000000000000000000000000000000000
remote: error: failed to lock refs/heads/multicompany
To //pluto/users/cdturner/Git …Run Code Online (Sandbox Code Playgroud)