Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Back to the old "dotfiles with git Best Practices".

My favorite is just to alias it all to a different name.

    alias dg='git --git-dir=/Users/dragonfax/.dotfiles --work-tree=/Users/dragonfax'
now regular git doesn't overlap with my dotfiles git, and I never have to worry about mis-executing the wrong git


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: