mirror of https://github.com/einverne/dotfiles.git
Ein Verne
4 years ago
4 changed files with 50 additions and 31 deletions
@ -1,11 +1,13 @@ |
|||||||
[user] |
[user] |
||||||
name = Ein Verne |
|
||||||
email = [email protected] |
email = [email protected] |
||||||
[core] |
name = Ein Verne |
||||||
editor = vim |
signingkey = 926634D64ACAD792 |
||||||
autocrlf = input |
[push] |
||||||
|
default = matching |
||||||
|
[http] |
||||||
|
postBuffer = 524288000 |
||||||
[alias] |
[alias] |
||||||
|
unstage = reset HEAD -- |
||||||
a = add |
a = add |
||||||
b = branch |
b = branch |
||||||
c = commit |
c = commit |
||||||
@ -71,16 +73,21 @@ |
|||||||
# |
# |
||||||
# git config --global branch.autosetuprebase always |
# git config --global branch.autosetuprebase always |
||||||
# |
# |
||||||
pr = pull --rebase |
# pr = pull --rebase |
||||||
|
pr="!f() { \ |
||||||
|
BRANCH_NAME=$(git rev-parse --abbrev-ref HEAD); \ |
||||||
|
git push -u origin $BRANCH_NAME; \ |
||||||
|
hub pull-request; \ |
||||||
|
};f " |
||||||
|
|
||||||
### rebase ### |
### rebase ### |
||||||
|
|
||||||
# rebase - forward-port local commits to the updated upstream head. |
# rebase - forward-port local commits to the updated upstream head. |
||||||
rb = rebase |
rb = rebase |
||||||
|
|
||||||
# rebase - continue the rebasing process after resolving a conflict manually and updating the index with the resolution. |
# rebase - continue the rebasing process after resolving a conflict manually and updating the index with the resolution. |
||||||
rbc = rebase --continue |
rbc = rebase --continue |
||||||
|
|
||||||
# rebase - restart the rebasing process by skipping the current patch. |
# rebase - restart the rebasing process by skipping the current patch. |
||||||
rbs = rebase --skip |
rbs = rebase --skip |
||||||
|
|
||||||
@ -97,25 +104,20 @@ |
|||||||
|
|
||||||
[branch] |
[branch] |
||||||
autosetuprebase = always |
autosetuprebase = always |
||||||
|
[core] |
||||||
|
editor = vim |
||||||
|
autocrlf = input |
||||||
|
quotepath = false |
||||||
[pull] |
[pull] |
||||||
rebase = true |
rebase = true |
||||||
[push] |
|
||||||
default = matching |
[merge] |
||||||
[gc] |
tool = meld |
||||||
autoDetach = false |
conflictstyle = diff3 |
||||||
|
[mergetool "meld"] |
||||||
|
cmd = meld $LOCAL $BASE $REMOTE --output=$MERGED --auto-merge |
||||||
[gpg] |
[gpg] |
||||||
program = gpg2 |
program = gpg |
||||||
[commit] |
|
||||||
gpgSign = false |
|
||||||
[filter "lfs"] |
|
||||||
clean = git-lfs clean -- %f |
|
||||||
smudge = git-lfs smudge -- %f |
|
||||||
process = git-lfs filter-process |
|
||||||
required = true |
|
||||||
[diff] |
|
||||||
tool = meld |
|
||||||
[difftool] |
|
||||||
prompt = false |
|
||||||
|
|
||||||
[includeIf "gitdir:~/projects/"] |
[includeIf "gitdir:~/projects/"] |
||||||
path = ~/projects/.gitconfig |
path = ~/projects/.gitconfig |
||||||
|
Loading…
Reference in new issue