From 6c7070e305f4dc7ae29ad1fc51233abdf1cf6330 Mon Sep 17 00:00:00 2001 From: Tom van der Lee Date: Thu, 29 Nov 2018 10:25:17 +0100 Subject: Added git deploy --- git/.gitconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'git') diff --git a/git/.gitconfig b/git/.gitconfig index 35bbdff..28afde9 100644 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -8,6 +8,6 @@ siu = "!f() { git submodule init && git submodule update; }; f" ls = ls-files serve = daemon --verbose --export-all --base-path=.git --reuseaddr --strict-paths .git/ - 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" + deploy = "!f() { read -p \"Do you want to push branch $1 to $1/master? [Y/n] \" yn; [ "$yn" == "Y" ] && git push $1{,:master}; }; f" [push] default = simple -- cgit v1.2.3