On 02/03/2017 10:41 PM, Bart Van Assche wrote:
On Fri, 2017-02-03 at 19:17 +0100, Johannes Thumshirn wrote:
Forgotten git add? git commit --amend without git add is such a classic
mistake on my side as well :-/
Are you familiar with the -a option of git commit? Just run
git commit -a --amend
Yes I try to train my muscle memory to do so. But this has drawbacks as
well,
like adding unrelated files you've edited and then amend them.
Byte,
Johannes
--
Johannes Thumshirn Storage
jthumshirn@xxxxxxx +49 911 74053 689
SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg
GF: Felix Imendörffer, Jane Smithard, Graham Norton
HRB 21284 (AG Nürnberg)
Key fingerprint = EC38 9CAB C2C4 F25D 8600 D0D0 0393 969D 2D76 0850