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 checkout 并在分离的头部状态下进行了一些更改。我提交了更改。如何将这些更改应用于特定分支?我可以签出该分支然后进行 git 合并吗?
在此先感谢您的帮助!
你可以新建一个分支
If you want to keep them by creating a new branch, this may be a good time to do so with: git branch new_branch_name <SHA of commit>
在一个分离的头上获取一系列提交到一个分支上