From 4c1db847d546ff0f36c467714f8b439e248251c4 Mon Sep 17 00:00:00 2001 From: Anton Date: Wed, 1 Jan 2025 01:56:55 +0100 Subject: [PATCH] add git reference alias --- .config/fish/alias.fish | 2 ++ .stow-local-ignore | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 .stow-local-ignore diff --git a/.config/fish/alias.fish b/.config/fish/alias.fish index 092a359..73ea7d1 100644 --- a/.config/fish/alias.fish +++ b/.config/fish/alias.fish @@ -15,4 +15,6 @@ alias sv 'layout -t se' # SSH alias louis 'echo "$(set_color red)You changed this dimwit, use \'vpn\' instead"' +# Git alias glog 'git log --graph --abbrev-commit --decorate --format=format:\'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(auto)%d%C(reset)\'' +alias gref 'git show -s --pretty=reference ' diff --git a/.stow-local-ignore b/.stow-local-ignore new file mode 100644 index 0000000..109fe1c --- /dev/null +++ b/.stow-local-ignore @@ -0,0 +1,2 @@ +README.md +wallpaper.mp4