Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在git log --all显示所有提交,但最后没有显示......
git log --all
甚至,当我推送它时Everything up-to-date,我希望能够推送最后一个 commitS。
Everything up-to-date
我做了 git show-branch ,它说:
[master] Merge branch 'master' of bitbucket.org:jargd/contract
有什么帮助吗?
* (no branch)
意思是“分离的头”
您可以在该提交处创建一个分支:
git checkout -b newBranch
并推动那个分支。