Vlad-Shcherbina / misc

Home Page:http://vlad-shcherbina.github.io/misc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

misc2

git config --global branch.master.rebase true

git config --global diff.algorithm patience

git config --global merge.conflictstyle diff3

git config --global alias.st "status --short --branch"

git config --global gui.encoding utf-8

# from http://fredkschott.com/post/2014/02/git-log-is-so-2005/
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue) <%an>%Creset' --abbrev-commit"

# word diff
git config --global alias.wdiff diff --color-words
echo '*.py diff=python' >> .gitattributes  # in the repo

About

http://vlad-shcherbina.github.io/misc


Languages

Language:JavaScript 72.3%Language:Python 8.9%Language:CoffeeScript 7.4%Language:HTML 6.2%Language:Shell 2.6%Language:C++ 1.7%Language:SWIG 0.5%Language:Vim Script 0.4%Language:Ruby 0.1%