From: Junio C Hamano Date: Mon, 14 May 2012 16:35:09 GMT Subject: Re: git rebase -f --autosquash Message-ID: <7vipfyiuv6.fsf@alter.siamese.dyndns.org> In-Reply-To: <1336820755.3002.11.camel@centaur.lab.cmartin.tk> Carlos Martín Nieto writes: > EDITOR=: git rebase -i @{u} > > and maybe set an alias (I have a 'riu' alias for 'rebase -i @{u}'). > > I'm not saying an extra option wouldn't be useful, but there's already > ways of making git not spawn a text editor which works for all commands, > and you can even make an alias that will do precisely that. Given "EDITOR=: git commit args..." and "EDITOR=: git merge args..." are equivalent to giving "--no-edit" option to these commands, I would imagine "git rebase opts... --no-editor args..." would not be such a stretch.