Last active
March 13, 2017 10:23
-
-
Save mike-boddin/12ddc6341cf866f527a4 to your computer and use it in GitHub Desktop.
Global git config (Windows)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[core] | |
autocrlf = true | |
editor = gitedit.sh | |
[user] | |
name = Mike Boddin | |
email = [email protected] | |
[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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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