blob: fe1f3290ea558981c44f1dc6d3ad03edc0517ffb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
[user]
email = typebrook@gmail.com
name = typebrook
[alias]
reorder = "!GIT_SEQUENCE_EDITOR=\"sed -i -n 'h;1n;2p;g;p'\" git rebase -i HEAD~2"
stashstaged = !git stash --keep-index && \
git stash && \
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
editor = vim
[merge]
tool = vimdiff
[color]
ui = off
[credential]
helper = store
|