Question

I want to do an interactive rebase. But this time there will be a lot of editing so I want to use different (graphical) editor. I don't want to set this editor permanently. I just need need it for this single rebase. Can I provide custom editor for this specific command?

Was it helpful?

Solution

Use this:

GIT_EDITOR=vim git rebase ...

OTHER TIPS

You can also use:

git -c core.editor=[editor] rebase [your args]

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top