From e87b835f7892215e1a5a797353be3bfdfc296c09 Mon Sep 17 00:00:00 2001 From: typebrook Date: Wed, 4 Mar 2020 11:40:39 +0800 Subject: update --- gitconfig | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'gitconfig') diff --git a/gitconfig b/gitconfig index ebe0ed1..fe1f329 100644 --- a/gitconfig +++ b/gitconfig @@ -9,6 +9,15 @@ git stash apply stash@{1} && \ git stash show -p | git apply -R && \ git stash drop stash@{1} +# swapProtoccol = !bash "\ +# remote={$1}\ +# url='git@github.com:typberook/settings.git'\ +# if [ $url =~ ^git ]; then\ +# new_url=$(echo $url | sed 's#git@#https://#; s#:#/#');\ +# else\ +# new_url=$url;\ +# fi;\ +# git remote set-url $remote $new_url" [core] pager = tig -- cgit v1.2.3-70-g09d2