aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2022-01-07 20:57:24 +0800
committerAaron LI <aly@aaronly.me>2023-06-13 10:01:03 +0800
commit017320e1f3a1b3b4ea6b01fe46109f1bec0db042 (patch)
tree50ab29f2d1d480065b6142cd735d408e3a1a8879
parent359b03bc4e1711e4dc2bf17aacd3bd15d6aec00c (diff)
downloaddotfiles-017320e1f3a1b3b4ea6b01fe46109f1bec0db042.tar.bz2
git: Add 'cp' alias for 'cherry-pick'
-rw-r--r--_gitconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/_gitconfig b/_gitconfig
index 33465f2..7768ee9 100644
--- a/_gitconfig
+++ b/_gitconfig
@@ -44,6 +44,7 @@
[alias]
ref-next = !sh -c 'git log --ancestry-path --format=%H ${1:-HEAD}..master | tail -n 1' -
log-next = !git ref-next $1 | xargs git log
+ cp = cherry-pick
# Large file storage
[filter "lfs"]