bminusl
Joined 8 years ago
Karma
87
Submissions
35
Member since
Jul 11
Joined 8 years ago
The trick is to use the combination of --git-dir and --work-tree git options. An alias can be defined to simplify the process: `alias dotfiles='/usr/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME'`.
`dotfiles` can be used as you would use `git`, e.g.:
- `dotfiles add <file>`
- `dotfiles commit [options]`
But there are some things I would like to improve, see [1].
[0]: https://www.cython.plus/en/