From 302c25bbf05af83eb316cd4911f0c1d35fef95e6 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Sun, 7 Nov 2021 21:37:12 -0800 Subject: [PATCH] git: alphabetize aliases and add ch alias for checkout --- .gitconfig | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.gitconfig b/.gitconfig index 6387f27..d045752 100644 --- a/.gitconfig +++ b/.gitconfig @@ -12,18 +12,19 @@ name = PowerUser64 [alias] - tree = 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(bold yellow)%d%C(reset)' --all + a = add + c = commit + ca = commit -a + caam = commit -a --amend + cam = commit --amend + ch = checkout + d = diff lg = tree - sub = submodule pl = pull ps = push s = status st = status - a = add - c = commit - ca = commit -a - cam = commit --amend - caam = commit -a --amend - d = diff + sub = submodule + tree = 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(bold yellow)%d%C(reset)' --all # vim:noet