top | item 41656400

(no title)

johnnypangs | 1 year ago

Seems like you can add —no-edit and get the same behavior, now I can delete that alias. Thanks again :)

(Edit: typo)

discuss

order

masklinn|1 year ago

That is correct, and there is a `--edit` to revert that, so my personal alias is to `git ci --amend --no-edit` such that by default it just merges the staging into the HEAD, and then tacking on `-e` will open the commit message in an editor to expand it.

cryptonector|1 year ago

You can also set `EDITOR=true` for that `git commit --amend` if you forget about `--no-edit`.