From 6b8122510e4d93098e07d7e34f5b2b3337fcef5c Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 7 Nov 2021 10:42:41 +0900 Subject: .gitconfig: rename alias "cb" to "current-branch" --- .gitconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitconfig b/.gitconfig index 0328c96..34b7ff2 100644 --- a/.gitconfig +++ b/.gitconfig @@ -45,7 +45,7 @@ a = add ap = add -p b = branch - cb = rev-parse --abbrev-ref HEAD + current-branch = rev-parse --abbrev-ref HEAD c = commit fixup = commit --fixup amend = commit --amend --no-edit @@ -92,9 +92,9 @@ m = merge mc = merge --continue --no-edit mm = mergetool - pullu = "!git pull upstream $(git cb) --ff" - pullo = "!git pull origin $(git cb) --ff" - pusho = "!git push origin $(git cb)" + pullu = "!git pull upstream $(git current-branch) --ff" + pullo = "!git pull origin $(git current-branch) --ff" + pusho = "!git push origin $(git current-branch)" cpick = cherry-pick cpickc = cherry-pick --continue --no-edit empty = commit --allow-empty -- cgit v1.2.3-70-g09d2