Skip to content

Instantly share code, notes, and snippets.

@HereChen
Created August 10, 2014 13:31
Show Gist options
  • Save HereChen/0291738ad3d2846624c3 to your computer and use it in GitHub Desktop.
Save HereChen/0291738ad3d2846624c3 to your computer and use it in GitHub Desktop.
[Git] Change Git Home Path
# modify etc/profile
# normalize HOME to unix path
HOME="/e/GitRep"
HOME="$(cd "$HOME" ; pwd)"
cd
export PATH="$HOME/bin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment