Skip to content

Instantly share code, notes, and snippets.

@grahamsaulnier
Last active August 29, 2015 13:56
Show Gist options
  • Select an option

  • Save grahamsaulnier/8961138 to your computer and use it in GitHub Desktop.

Select an option

Save grahamsaulnier/8961138 to your computer and use it in GitHub Desktop.
[core]
autocrlf = true
excludesfile = C:\\Users\\grahams\\Documents\\gitignore_global.txt
editor = 'c:/program files/sublime text 2/sublime_text.exe' -w
[difftool "sourcetree"]
cmd = 'C:/Program Files/KDiff3/kdiff3.exe' \"$LOCAL\" \"$REMOTE\"
[mergetool "sourcetree"]
cmd = 'C:/Program Files/KDiff3/kdiff3.exe' \"$BASE\" \"$LOCAL\" \"$REMOTE\" -o \"$MERGED\"
trustExitCode = true
[alias]
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lb= log --oneline --graph --decorate
la= lb --all
lbs= lb | head -n "$((LINES/2))"
las= la | head -n "$((LINES/2))"
lbss= lb | head -n "$((LINES/4))"
lass= la | head -n "$((LINES/4))"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment