git-commit: add gpg-sign example
This commit is contained in:

committed by
marchersimon

parent
30e8740521
commit
155df72786
@@ -15,6 +15,10 @@
|
||||
|
||||
`git commit -a -m "{{nachricht}}"`
|
||||
|
||||
- Committe alle gestagten Dateien und [S]igniere sie mit dem in `~/.gitconfig` definierten GPG Schlüssel:
|
||||
|
||||
`git commit -S -m "{{nachricht}}"`
|
||||
|
||||
- Ersetze den letzten Commit mit den gerade auf dem Stage liegenden Änderungen:
|
||||
|
||||
`git commit --amend`
|
||||
|
@@ -15,6 +15,10 @@
|
||||
|
||||
`git commit -a -m "{{message}}"`
|
||||
|
||||
- Commit staged files and [S]ign them with the GPG key defined in `~/.gitconfig`:
|
||||
|
||||
`git commit -S -m "{{message}}"`
|
||||
|
||||
- Update the last commit by adding the currently staged changes, changing the commit's hash:
|
||||
|
||||
`git commit --amend`
|
||||
|
Reference in New Issue
Block a user