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.
私は切り離された頭に5つのコミットを持っています。--set-upstream私は枝にいないので、できません。新しいブランチをチェックアウトし、チェリー ピックして 5 つすべてを個別にコミットする必要がありますか?
--set-upstream
ローズ、新しいブランチを作成するだけでいいようです
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 fifth commit>