diff options
author | typebrook <typebrook@gmail.com> | 2020-03-04 11:40:39 +0800 |
---|---|---|
committer | typebrook <typebrook@gmail.com> | 2020-03-04 11:40:39 +0800 |
commit | e87b835f7892215e1a5a797353be3bfdfc296c09 (patch) | |
tree | 17ce0736e3da3588a44db1d24360fc6b91495da1 /gitconfig | |
parent | 56d8219ed0f7a09b1b6f57d7e1a53ac53359de2e (diff) |
update
Diffstat (limited to 'gitconfig')
-rw-r--r-- | gitconfig | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -9,6 +9,15 @@ | |||
9 | git stash apply stash@{1} && \ | 9 | git stash apply stash@{1} && \ |
10 | git stash show -p | git apply -R && \ | 10 | git stash show -p | git apply -R && \ |
11 | git stash drop stash@{1} | 11 | git stash drop stash@{1} |
12 | # swapProtoccol = !bash "\ | ||
13 | # remote={$1}\ | ||
14 | # url='git@github.com:typberook/settings.git'\ | ||
15 | # if [ $url =~ ^git ]; then\ | ||
16 | # new_url=$(echo $url | sed 's#git@#https://#; s#:#/#');\ | ||
17 | # else\ | ||
18 | # new_url=$url;\ | ||
19 | # fi;\ | ||
20 | # git remote set-url $remote $new_url" | ||
12 | 21 | ||
13 | [core] | 22 | [core] |
14 | pager = tig | 23 | pager = tig |