I use Homesick to maintain my dotfiles on Github. In addition to this, I also use fabulous bash-it for common bash functions and plugins. My dotfile configuration is stored in a single Github repository as a lock for the house, while my bash fork is stored in a separate Github repository .
When I want to configure a new machine, I first need to clone my bash -it repo ( git clone ...
), and then configure my homesickness and clone my replica dotfiles ( homesick clone nwinkler/dotfiles
).
Is there any way to make this easier, i.e. maintain my bash -it repo either as a second homesick, or even better as a submodule of my dotfiles lock? Ideally, I could install my dotfiles and bash -it lock with just one command.
Can (or should) use Git submodules for this? Or is there a better way?
source share