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.
我有两个分支:
develop myFeature
我在开发时错误地进行了一次提交,应该在 myFeature 上。
提交尚未推送。
我怎样才能将这个提交从开发转移到 myFeature?
git checkout myFeature git cherry-pick develop git checkout -B develop develop~