`git-meta commit -amend` (typo in --amend) causes some confusing behaviour
Open
- Dominant language
- JavaScript
- Stars
- 233
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Description
Having a typo (missing a "-" during `git meta commit --amend`) causes an interesting (but correct) behaviour.
Repro: `git meta commit -amend`
Actual: `-amend` resolves to `-a -m end` and creates a new commit with the message "end".
Expected: Possibly rejecting like git commit does?
```
$ git commit -amend
error: did you mean `--amend` (with two dashes ?)
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.