diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-07-02 23:32:01 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-07-02 23:32:01 +0200 |
| commit | 6a7e109cebebea138d0bc6add8bf2ce54ea95959 (patch) | |
| tree | fbf8fb4b341481483b0f7f85e9fb91fd80604ed9 | |
| parent | 403d60d82d6cc07a34c96480301cf34a55526609 (diff) | |
| download | dotfiles-6a7e109cebebea138d0bc6add8bf2ce54ea95959.tar.gz dotfiles-6a7e109cebebea138d0bc6add8bf2ce54ea95959.zip | |
git: add the 'ref-commit' alias
This goes in tandem with the --pretty=fixes option, and it's useful to
reference commits on a commit message.
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
| -rw-r--r-- | .gitconfig | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -21,6 +21,7 @@ a = commit -a -s down = pull --rebase --stat fpush = push --force-with-lease + ref-commit = show -s --abbrev --format='%h (\"%s\")' [format] signoff = true |
