Skip to content

Instantly share code, notes, and snippets.

@zihotki
Created June 4, 2016 16:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zihotki/d753db960ab6c672bdeee0eb70a92c9e to your computer and use it in GitHub Desktop.
Save zihotki/d753db960ab6c672bdeee0eb70a92c9e to your computer and use it in GitHub Desktop.
My personal settings for git
alias g=git
alias ls='/bin/ls -F --color=tty --show-control-chars'
alias ga='gitk --all&'
alias gs='git st'
#OS junk files
[Tt]humbs.db
*.DS_Store
#Visual Studio files
*.[Oo]bj
*.user
*.aps
*.pch
*.vspscc
*.vssscc
*_i.c
*_p.c
*.ncb
*.suo
*.tlb
*.tlh
*.bak
*.[Cc]ache
*.ilk
*.log
*.lib
*.sbr
*.sdf
*.opensdf
*.unsuccessfulbuild
ipch/
obj/
[Bb]in
[Dd]ebug*/
[Rr]elease*/
Ankh.NoLoad
#Tooling
_ReSharper*/
*.resharper
[Tt]est[Rr]esult*
#Project files
[Bb]uild/
#Subversion files
.svn
# Office Temp Files
~$*
#NuGet
packages/
#JetBrains Idea
.idea/
.idea
[user]
name = Vasili Puchko
email =
[core]
excludesfile = .git-ignores
autocrlf = true
safecrlf = warn
editor = \"C:\\Program Files (x86)\\Notepad++\\Notepad++.exe\"
[color]
diff = auto
interactive = auto
status = auto
branch = auto
[diff]
tool = araxis
[merge]
tool = araxis
[difftool "araxis"]
path = \"C:\\Program Files\\Araxis\\Araxis Merge\\compare.exe\"
[mergetool "araxis"]
path = \"C:\\Program Files\\Araxis\\Araxis Merge\\compare.exe\"
[alias]
st = status
cm = commit -m
br = branch
co = checkout
df = diff
lg = log -p
who = shortlog -s --
up = pull --rebase
sync = !git up && git push
stuff = !git add -A && git ci -a
[push]
default = upstream
[filter "lfs"]
clean = git-lfs clean %f
smudge = git-lfs smudge %f
required = true
[credential]
helper = manager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment