aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorPatrick Spek <p.spek@tyil.nl>2020-05-28 11:30:27 +0200
committerPatrick Spek <p.spek@tyil.nl>2021-08-14 11:59:37 +0200
commit8a460ca792ff84d2d4dad99b34764b4eedad55b4 (patch)
treea9914681b32d7ab4f5be218581b62fdae24aea4b /.config
parentb85f29bbe29b91976c34d403a2f4623c8d07b29a (diff)
Add mirror-add alias to git
Diffstat (limited to '.config')
-rw-r--r--.config/git/config2
1 files changed, 1 insertions, 1 deletions
diff --git a/.config/git/config b/.config/git/config
index 156593a..fc114a3 100644
--- a/.config/git/config
+++ b/.config/git/config
@@ -7,11 +7,11 @@
co = checkout
cob = checkout -b
ct = tag -s
- #cd = ! cd -- "$(pwd)"
d = diff
fo = fetch origin
l = log --date=format:'%Y-%m-%d %H:%M:%S' --pretty=format:'%C(6)%ad %C(3)%h%Creset %s %C(7)by %C(2)%ae%C(7):%C(5)%G?'
lg = log --graph --abbrev-commit --decorate --date=relative --all
+ mirror-add = ! git remote set-url --add --push origin
p = push
pa = push-all
prev = ! git show "HEAD:$1"