summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-02-28 00:29:22 -0500
committerJesse Luehrs <doy@tozt.net>2021-02-28 00:29:22 -0500
commit33defae27b862650a3cc98d847414c98b26243f8 (patch)
tree7b46f6616eb39f15b196e5b852300a104d926952 /config
parentfb04e3c2470352af178b6e8c64f6482cab0b766d (diff)
downloadconf-33defae27b862650a3cc98d847414c98b26243f8.tar.gz
conf-33defae27b862650a3cc98d847414c98b26243f8.zip
add git command to pull a github pr
Diffstat (limited to 'config')
-rw-r--r--config/git/config1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/git/config b/config/git/config
index 30584de..0d3a10e 100644
--- a/config/git/config
+++ b/config/git/config
@@ -23,6 +23,7 @@
info = remote show -n origin
lg = log --graph --pretty=format:'%Cred%h%Creset%C(yellow)%d%Creset %C(bold blue)%aN%Creset %C(magenta)(%ar)%Creset%n%s%n' --abbrev-commit --date=relative --stat=72
m = "!f() { git co master && git pull && EDITOR=true git merge --no-ff \"$@\" && git bda; }; f"
+ pr = !~/.bin/git/git-pr
prune-all = !git remote | xargs -n 1 git remote prune
pushall = "!f() { for repo in origin github; do git push $repo \"$@\"; done; }; f"
record = !git add -p && git commit --verbose