summaryrefslogtreecommitdiff
path: root/git/.gitconfig
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2024-01-24 11:40:06 -0500
committerMatt Turner <mattst88@gmail.com>2024-01-24 11:40:06 -0500
commit1cdb807bce9842edd4196bee39bc7d953eefffe5 (patch)
tree6f9fa390066d839f11af0aea5d71b8c898de7ac6 /git/.gitconfig
parentfda34f3dfd492011be6ad767db4a8ebbf03d605b (diff)
git: Add last-commit-to alias
Diffstat (limited to 'git/.gitconfig')
-rw-r--r--git/.gitconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/git/.gitconfig b/git/.gitconfig
index 4f608f9..474e0ee 100644
--- a/git/.gitconfig
+++ b/git/.gitconfig
@@ -24,5 +24,6 @@
shwo = show
grpe = grep
lgo = log
+ last-commit-to = log -n 1 --pretty=format:%H
[init]
defaultBranch = main