Skip to content

Instantly share code, notes, and snippets.

@mike-boddin

mike-boddin/.gitconfig

Last active Mar 13, 2017
Embed
What would you like to do?
Global git config (Windows)
[core]
autocrlf = true
editor = gitedit.sh
[user]
name = Mike Boddin
email = dev@autorisiert.net
[push]
default = simple
[alias]
pg = log --graph --decorate=short --date=relative --all
pullff = pull --ff-only
pullr = pull -r
stat = status --short --branch
[credential]
helper = cache --timeout=43200
[merge]
tool = kdiff3
[mergetool "kdiff3"]
path = $KDIFF_HOME/kdiff3.exe
[diff]
tool = kdiff3
guitool = kdiff3
[difftool "kdiff3"]
path = $KDIFF_HOME/kdiff3.exe
#!/bin/sh
NOTEPAD_HOME="c:/Program Files (x86)/Notepad++"
if [[ $(uname) == CYGWIN* ]] ; then
PARAMS="$(cygpath -w "$*")"
else
PARAMS="$*"
fi
echo "open editor for file '$PARAMS'"
"$NOTEPAD_HOME/notepad++.exe" -multiInst -nosession -noPlugin "$PARAMS"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.