Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/github/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Git 以bash-it作为子模块的Homesick_Git_Github_Dotfiles_Bash It - Fatal编程技术网

Git 以bash-it作为子模块的Homesick

Git 以bash-it作为子模块的Homesick,git,github,dotfiles,bash-it,Git,Github,Dotfiles,Bash It,我正在使用在Github上维护我的点文件。除此之外,我还将Fabelous用于一般bash功能和插件。我的dotfile配置保存在一个Github repo中,作为一个思乡城堡,而我的bash it fork保存在一个单独的目录中 当我想设置一台新机器时,我首先需要克隆我的bash it repo(git clone…),然后设置homesick并从那里克隆我的dotfiles repo(homesick clone nwinkler/dotfiles) 有没有办法让这变得更容易,即将我的bas

我正在使用在Github上维护我的点文件。除此之外,我还将Fabelous用于一般bash功能和插件。我的dotfile配置保存在一个Github repo中,作为一个思乡城堡,而我的bash it fork保存在一个单独的目录中

当我想设置一台新机器时,我首先需要克隆我的bash it repo(
git clone…
),然后设置homesick并从那里克隆我的dotfiles repo(
homesick clone nwinkler/dotfiles

有没有办法让这变得更容易,即将我的bash-it-repo作为第二个思乡城堡,或者更好地作为我的dotfiles城堡的子模块?理想情况下,我可以设置我的dotfiles城堡,只需一个命令就可以将其摧毁

我可以(或者应该)利用Git子模块来实现这一点吗?还是有更好的办法