aboutsummaryrefslogtreecommitdiff
path: root/base/gitconfig
diff options
context:
space:
mode:
authorAlexis Hovorka <[email protected]>2020-10-27 11:03:19 -0600
committerAlexis Hovorka <[email protected]>2020-10-27 11:03:19 -0600
commitfebb4771cac324ca2a994027ca9ff2e1920a139e (patch)
treef9e788dbff144461458ac606af2b6e52e41c1019 /base/gitconfig
parentd852ff242cf2990649d1805055714a8240c3a85a (diff)
[feat] Alias git ssh -> ssh git.ahov.co
Diffstat (limited to 'base/gitconfig')
-rw-r--r--base/gitconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/gitconfig b/base/gitconfig
index 2a9996a..fb7a2df 100644
--- a/base/gitconfig
+++ b/base/gitconfig
@@ -61,6 +61,7 @@
root = rev-parse --show-toplevel
cloner = clone --recursive
rv = remote -v
+ ssh = "!ssh git.ahov.co"
h = "!f() { git log $* | grep '^commit ' | cut -d' ' -f2; }; f" # Return a list of commit SHA1s
details = log -n1 -p --format=fuller # View the log and diff for a commit (previous if no SHA1 provided)