aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2018-11-29 10:25:17 +0100
committerGravatar Tom van der Lee <t0m.vd.l33@gmail.com>2018-11-29 10:25:17 +0100
commit6c7070e305f4dc7ae29ad1fc51233abdf1cf6330 (patch)
tree0efbc300f1819fca8847a64dd1ea83a204d8552a
parent79f69e65a631f9dc01a6afe1065348916de2ecb2 (diff)
downloaddotfiles-6c7070e305f4dc7ae29ad1fc51233abdf1cf6330.tar.gz
dotfiles-6c7070e305f4dc7ae29ad1fc51233abdf1cf6330.tar.bz2
dotfiles-6c7070e305f4dc7ae29ad1fc51233abdf1cf6330.zip
Added git deploy
-rw-r--r--git/.gitconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/.gitconfig b/git/.gitconfig
index 35bbdff..28afde9 100644
--- a/git/.gitconfig
+++ b/git/.gitconfig
@@ -8,6 +8,6 @@
8 siu = "!f() { git submodule init && git submodule update; }; f" 8 siu = "!f() { git submodule init && git submodule update; }; f"
9 ls = ls-files 9 ls = ls-files
10 serve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/ 10 serve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/
11 deploy = "!f() { read -p \"Do you want to push branch $1 to $1/master? [Y/n] \" yn; [ "$yn" == "Y" ] && echo git push $1{,:master}; }; f" 11 deploy = "!f() { read -p \"Do you want to push branch $1 to $1/master? [Y/n] \" yn; [ "$yn" == "Y" ] && git push $1{,:master}; }; f"
12[push] 12[push]
13 default = simple 13 default = simple