Add git alias for gcM
(GPG-sign the commit)
This commit is contained in:
parent
4f19700919
commit
dcd540d397
2 changed files with 2 additions and 0 deletions
|
@ -53,6 +53,7 @@ Aliases
|
|||
- `gc` records changes to the repository.
|
||||
- `gca` stages all modified and deleted files.
|
||||
- `gcm` records changes to the repository with the given message.
|
||||
- `gcM` same as `gcm` but adds a GPG signature to the commit.
|
||||
- `gco` checks out a branch or paths to work tree.
|
||||
- `gcO` checks out hunks from the index or the tree interactively.
|
||||
- `gcf` amends the tip of the current branch using the same log message as
|
||||
|
|
|
@ -45,6 +45,7 @@ alias gbS='git show-branch -a'
|
|||
alias gc='git commit --verbose'
|
||||
alias gca='git commit --verbose --all'
|
||||
alias gcm='git commit --message'
|
||||
alias gcM='git commit --gpg-sign --message'
|
||||
alias gco='git checkout'
|
||||
alias gcO='git checkout --patch'
|
||||
alias gcf='git commit --amend --reuse-message HEAD'
|
||||
|
|
Loading…
Add table
Reference in a new issue