Junio C Hamano schrieb:
Bergi <a.d.be...@web.de> writes:
when nothing is staged in the index then `git commit` warns about this
fact with either "nothing to commit, working directory clean" or "no
changes added to commit".
However, `git commit --amend --no-edit`
) to
check the tree in the same way as `git commit` does, as the intention of
`--no-edit` is even more clear and running the command is more obviously
a mistake/lapse.
Kind regards,
Bergi
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
2 matches
Mail list logo