Re: [RFC PATCH 0/5] Add option to autostage changes when continuing a rebase
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 21, 2017, 22:41 UTC
- Message-ID
- <xmqqinhg5ysf.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <a3b7af29-8b3a-5253-21da-957920212a6e@talktalk.net>
Phillip Wood <phillip.wood@talktalk.net> writes:
> ... I prefer > having to pass --autostage with --continue so that it is a concious > decision by the user to stage unstaged changes when they continue rather > than rebase just doing it each time it continues.
In other words, instead of
git add -u && git rebase --continue
you would want a quicker way to say
git rebase --continue $something_here
If that is the case, that is understandable to me. Is the "-u" (I think "git add -u" is short for "--update" but I didn't check) taken as a valid option to "git rebase"? If not, that $something_here could be "-u".
Thanks for pinging the thread; otherwise I would have forgotten, especially because not many other people were involved in the discussion to begin with.