git rebase — unexpected mismatch of my hashes

后端 未结 3 1104
迷失自我
迷失自我 2021-01-24 22:07

1) why wasn\'t i given an opportunity to stage pieces of my commits so i can tease them into distinct commits before merging with team? 2) why doesn\'t the hash before

3条回答
  •  野性不改
    2021-01-24 22:25

    so i figured out why the rebase didn't give me an opportunity to edit -- what i wanted to do right after git rebase -i team was git reset HEAD^1; git add -p to tease appart my big commits into smaller chunks.

    http://git-scm.com/docs/git-rebase

提交回复
热议问题