Update .config/git/config.aliases

This commit is contained in:
punkfairie 2024-10-05 19:49:26 -07:00
parent 5e08f96e1b
commit 19d731f246
Signed by: punkfairie
GPG key ID: A86AF57F837E320F

View file

@ -2,7 +2,7 @@
[alias] [alias]
# Staging - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Staging - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
a = add a = add
aa = add --all aa = add --all
@ -102,6 +102,14 @@
sub = submodule sub = submodule
subu = submodule update --init --recursive subu = submodule update --init --recursive
r = remote
rv = remote --verbose
ra = remote add
rrm = remote remove
rmv = remote rename
rset = remote set-url
rup = remote update
# Logs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Logs - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Current branch. # Current branch.
@ -135,7 +143,7 @@
laps = log -5 --pretty=lf --graph --all --cc --patch laps = log -5 --pretty=lf --graph --all --cc --patch
# Shortcuts - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Shortcuts - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
nevermind = "!git reset --hard HEAD && git clean -df" nevermind = "!git reset --hard HEAD && git clean -df"
@ -143,7 +151,7 @@
chash = "!git log --oneline | gum filter --height 10 | cut -d' ' -f1 | copyq copy - &>/dev/null" chash = "!git log --oneline | gum filter --height 10 | cut -d' ' -f1 | copyq copy - &>/dev/null"
# Notes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Notes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# A note on reset, restore, and revert, paraphrased from `man git`, plus myown # A note on reset, restore, and revert, paraphrased from `man git`, plus myown
# own on `rm`: # own on `rm`:
@ -156,8 +164,8 @@
# #
# These are not a description of the *possible* uses, rather a narrowing of # These are not a description of the *possible* uses, rather a narrowing of
# the *intended* uses. # the *intended* uses.
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# PATH VALUES: # PATH VALUES:
# :/ - all files within the root of the working tree, so all files in the # :/ - all files within the root of the working tree, so all files in the