diff options
| author | nsfisis <nsfisis@gmail.com> | 2021-11-07 10:42:41 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2021-11-07 10:42:41 +0900 |
| commit | 6b8122510e4d93098e07d7e34f5b2b3337fcef5c (patch) | |
| tree | 49fd481546eb9bbd3ac5a5d688746eec140b46f0 | |
| parent | b5601e86cc6aa8511722a2b450e1540e7af92f2f (diff) | |
| download | dotfiles-6b8122510e4d93098e07d7e34f5b2b3337fcef5c.tar.gz dotfiles-6b8122510e4d93098e07d7e34f5b2b3337fcef5c.tar.zst dotfiles-6b8122510e4d93098e07d7e34f5b2b3337fcef5c.zip | |
.gitconfig: rename alias "cb" to "current-branch"
| -rw-r--r-- | .gitconfig | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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 |
