Created
February 16, 2010 17:59
-
-
Save rwest/305742 to your computer and use it in GitHub Desktop.
put this in .bash_profile to set up git variables
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
# set up git author details for commits and merges | |
export GIT_AUTHOR_NAME="Richard West" | |
export [email protected] | |
export GIT_COMMITTER_NAME="Richard West" | |
export [email protected] | |
# change the default editor from vi to emacs | |
export GIT_EDITOR=emacs # doesn't work with the old version of git on monch | |
export VISUAL=emacs # a more generic system-wide editor command that does the trick |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment