How to do a rebase with git gui?

后端 未结 4 674
独厮守ぢ
独厮守ぢ 2021-01-31 07:42

I know how to do a git rebase from the command line, but how do you do it with the official git-gui?

4条回答
  •  闹比i
    闹比i (楼主)
    2021-01-31 07:49

    In git-gui:

    1. Go to Tools -> Add and then enter a custom command i.e. git rebase master.
    2. Select Add globally to have this option appear for all repositories. (It will write the configuration to your ~/.gitconfig for you, as @Ted-Percival mentioned in his answer).

提交回复
热议问题