1
whats a git command to git add -A
and git commit --amend
in one line?另外,我不想在修改时指定消息或使用多行。什么Git命令git添加-A和git提交 - 在一行中创建?
whats a git command to git add -A
and git commit --amend
in one line?另外,我不想在修改时指定消息或使用多行。什么Git命令git添加-A和git提交 - 在一行中创建?
要保留要修改的修订版本上使用的相同消息,请使用--no-edit。在一行中,你可以分开与;
git add -A; git commit --amend --no-edit
并创建一个git别名,以简化它的使用,可以称为'git fixup'... – Philippe