diff --git a/.gitconfig b/.gitconfig deleted file mode 100644 index 28d38111..00000000 --- a/.gitconfig +++ /dev/null @@ -1,64 +0,0 @@ -[user] - email = e.kovetskiy@gmail.com - name = Egor Kovetskiy -;[credential] -; helper = cache --timeout=3600000 -[core] - ;editor = vim - excludesfile = /home/operator/.gitignore_global - attributesfile = ~/.gitattributes -[color] - ui = true -[pager] - diff = diff-so-fancy | less --tabs=4 -RFX - show = diff-so-fancy | less --tabs=4 -RFX -[url "git@github.com:kovetskiy/"] - insteadOf = git+ssh://github.com/me/ - insteadOf = git://github.com/me/ - insteadOf = ssh://github.com/me/ - insteadOf = ssh://git@github.com/me/ - insteadOf = https://github.com/me/ - insteadOf = git@github.com:me/ -[url "git@github.com:"] - insteadOf = gh: - insteadOf = https://git@github.com: - insteadOf = git+ssh://github.com/ - insteadOf = git://github.com/ - insteadOf = ssh://github.com/ - insteadOf = ssh://git@github.com/ - insteadOf = https://github.com/ - insteadOf = http://github.com/ -[url "git@gitlab.com:"] - insteadOf = gl: - insteadOf = https://git@gitlab.com: - insteadOf = git+ssh://gitlab.com/ - insteadOf = git://gitlab.com/ - insteadOf = ssh://gitlab.com/ - insteadOf = ssh://git@gitlab.com/ - insteadOf = https://gitlab.com/ -[url "kovetskiy@bitbucket.org:"] - insteadOf = git+ssh://bitbucket.org/ - insteadOf = git://bitbucket.org/ - insteadOf = ssh://bitbucket.org/ - insteadOf = ssh://git@bitbucket.org/ - insteadOf = https://bitbucket.org/ -[http] - cookiefile = /home/operator/.gitcookies -[color "diff-highlight"] - oldNormal = red bold - oldHighlight = white bold 52 - newNormal = green bold - newHighlight = red bold 22 -[color "diff"] - meta = 11 - frag = magenta bold - commit = yellow bold - old = red bold - new = white bold 22 - whitespace = red reverse -[alias] - diff-image = "!f() { cd -- \"${GIT_PREFIX:-.}\"; GIT_DIFF_IMAGE_ENABLED=1 git diff \"$@\"; }; f" -[diff "image"] - command = /home/operator/dotfiles/git-diff-image/git_diff_image -;[diff] -; tool = /home/operator/bin/mydiff diff --git a/.gitignore b/.gitignore index 28346f30..5ed051ad 100644 --- a/.gitignore +++ b/.gitignore @@ -12,3 +12,5 @@ /.config/redshift.conf /*.pyc __pycache__ +.gitconfig +.nvimlog