|
|
|
|
|
by sam_lowry_
298 days ago
|
|
This was discussed a lot on HN. The problem with this approach is that you can accidentally commit to the $HOME repository. An approach that avoids that is to use --git-dir= attribute. E.g. alias dotfiles="git --git-dir=$HOME/.dotfiles" |
|