Re: git rebase -f --autosquash
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 14, 2012, 16:35 UTC
- Message-ID
- <7vipfyiuv6.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <1336820755.3002.11.camel@centaur.lab.cmartin.tk>
Carlos Martín Nieto <cmn@elego.de> writes:
Show 7 quoted lines
> 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.