Excerpts from solsTiCe d'Hiver's message of Thu Feb 23 11:55:11 +0100 2012: > "git config core.worktree /etc" is not really needed in your setup True. > I would like to suggest to use alias instead of env var. This way you > can work easily on multiple git repo in the same shell > > for example > alias etc-git='git --git-dir=/path/to/etc.git --work-dir=/etc' > alias home-git='git --git-dir=/path/to/home.git --work-dir=$HOME' #just > check that $HOME is defined This is nice, i used this for a while, but i got used to my git aliases[1] (eg gc="git commit") that i always failed the commands :P So i just use this little scrpit[2] Either way is very cool indeed. [1] https://github.com/masterkorp/Home-files/blob/master/.bash.d/aliases.bash [2] https://github.com/masterkorp/Home-files/blob/master/scripts/export_git.sh