aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--home/.config/git/config3
1 files changed, 2 insertions, 1 deletions
diff --git a/home/.config/git/config b/home/.config/git/config
index bba5ed3..e59a2dc 100644
--- a/home/.config/git/config
+++ b/home/.config/git/config
@@ -91,6 +91,7 @@
bd = branch -D
c = commit
ca = commit --amend --no-edit
+ cp = cherry-pick
d = diff
dft = -c diff.external=difft diff
dl = -c diff.external=difft log -p --ext-diff
@@ -104,6 +105,7 @@
fp = push --force-with-lease
gone = !git for-each-ref --format '%(refname:short) %(upstream:track)' | awk '$2 == \"[gone]\" {print $1}' | xargs -r git branch -D
l = log
+ lg = log --graph --oneline
lm = log --pretty=medium
m = merge
mt = mergetool
@@ -114,7 +116,6 @@
rt = restore
s = status
st = status --no-short
- stage = add
staged = diff --cached
sub = submodule
subf = submodule foreach