Repository navigation
Commit e501893
committed
Fix gcsm alias passing the commit message as a path
`gcsm` expanded to `git commit --all --signoff $message`, which hands
the message to git as a pathspec, so it fails with "pathspec did not
match" (or commits unrelated files if a file happens to share the
name). It should mirror `gcasm` minus the `--all`, as in oh-my-zsh:
alias gcsm='git commit --signoff --message'
Also add `gcsm` to the abbreviation file, which mirrored every other
alias in this file except this one.1 parent e055e4c commit e501893
2 files changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| |||
0 commit comments