Skip to content

Instantly share code, notes, and snippets.

@salogel42
Last active January 4, 2016 18:49
Show Gist options
  • Select an option

  • Save salogel42/e8d4385a952f5ccd20a0 to your computer and use it in GitHub Desktop.

Select an option

Save salogel42/e8d4385a952f5ccd20a0 to your computer and use it in GitHub Desktop.
gitconfig files for both Mac and Windows (with cygwin). For the windows version, `subl_bash` should be in `/usr/local/bin`. It is needed to make sure that things are opened from `cygwin/home` rather than `c:/home`
[user]
name = Sarah Spikes
email = sdspikes@cs.stanford.edu
[core]
editor = subl -n -w
[push]
default = upstream
[merge]
conflictstyle = diff3
[user]
name = Sarah Spikes
email = sdspikes@cs.stanford.edu
[core]
editor = /usr/local/bin/subl_bash
[push]
default = upstream
[merge]
conflictstyle = diff3
#!/bin/bash
/cygdrive/c/Program\ Files/Sublime\ Text\ 2/sublime_text.exe -w -n `cygpath -w $@`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment