diff options
| author | typebrook <typebrook@gmail.com> | 2020-04-28 11:11:19 +0800 |
|---|---|---|
| committer | typebrook <typebrook@gmail.com> | 2020-04-28 11:11:19 +0800 |
| commit | 75992172bfecf78bf78b2a6a6ab4f6361a2df33a (patch) | |
| tree | 0d18896d030aac89b0e4cb36d2f94e6129a1e81a /gitconfig | |
| parent | 9d6b7201c9b3277e6840ef873dba651d5c3e9011 (diff) | |
update
Diffstat (limited to 'gitconfig')
| -rw-r--r-- | gitconfig | 10 |
1 files changed, 1 insertions, 9 deletions
| @@ -9,15 +9,7 @@ | |||
| 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 "\ | 12 | swapprotocol = !swap-protocol.sh |
| 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" | ||
| 21 | 13 | ||
| 22 | [core] | 14 | [core] |
| 23 | pager = tig | 15 | pager = tig |