diff options
| author | nsfisis <nsfisis@gmail.com> | 2023-08-19 22:27:24 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2023-08-19 22:29:39 +0900 |
| commit | db7b71c5e1b9c7db15fc891f58584a1bd5137ab2 (patch) | |
| tree | bf7df94d6e0e5b3740ad234719da243d14361375 | |
| parent | 40b1feb5b72cb7bb6e23ebe9ff978c6b0a1caa2a (diff) | |
| download | dotfiles-db7b71c5e1b9c7db15fc891f58584a1bd5137ab2.tar.gz dotfiles-db7b71c5e1b9c7db15fc891f58584a1bd5137ab2.tar.zst dotfiles-db7b71c5e1b9c7db15fc891f58584a1bd5137ab2.zip | |
git: simplify aliases (pullu/pullo/pusho)
| -rw-r--r-- | .config/git/config | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.config/git/config b/.config/git/config index 37f50a0..16932ce 100644 --- a/.config/git/config +++ b/.config/git/config @@ -128,9 +128,9 @@ }; __fn" mc = "!GIT_EDITOR=true git merge --continue" mm = mergetool - pullu = "!git pull upstream $(git current-branch) --ff" - pullo = "!git pull origin $(git current-branch) --ff" - pusho = "!git push origin $(git current-branch)" + pullu = pull upstream HEAD --ff + pullo = pull origin HEAD --ff + pusho = push origin HEAD cpick = cherry-pick cpickc = "!GIT_EDITOR=true git cherry-pick --continue" empty = commit --allow-empty |
