can i rebase old commits?

后端 未结 2 911
故里飘歌
故里飘歌 2021-02-19 07:02

I have just started using git. Rebase is great stuff. I should have used it in a specific earlier case.

is there a perfectly acceptable way to rebase old commits for th

2条回答
  •  感动是毒
    2021-02-19 07:34

    In general, if you've shared a commit with someone else, don't rebase it.

    If you haven't shared a commit with anyone else, you can do whatever you want to it.

    See the "RECOVERING FROM UPSTREAM REBASE" section of the git-rebase manpage for more info.

提交回复
热议问题