Hi Marc, I'm using vcsh in combination with myrepos, but here is how I solved the issue: You can use a .gitignore.d folder which contains a gitignore file for each vcsh repository
# vcsh bash config -l | grep excludesfile core.excludesfile=~/.gitignore_global core.excludesfile=.gitignore.d/bash # git config -l | grep excludesfile core.excludesfile=~/.gitignore_global # cat .gitignore.d/bash * !/.bash_aliases !/.bash_aliases/* !/.bash_functions !/.bash_profile !/.bashrc !/.gitignore.d !/.gitignore.d/bash !/.profile # vcsh list | grep bash bash It does not solve the fact that you have to use -f while adding files, however I tend to update the corresponding file in ~/.gitignore.d Hope that helps, Cheers On Thu, May 26, 2016 at 6:23 PM, Marc Haber <mh+vcs-h...@zugschlus.de> wrote: > On Thu, May 26, 2016 at 08:20:55AM -0700, Corey Quinn wrote: > > Yes. That's how I run it, anyway. It's been working flawlessly for years. > > > > Remember, each repository doesn't know about the others; it's entirely > > possible to get "duelling repos" that keep switching the same file back > and > > forth. > > Too bad that committing * in .config/vcsh/repo.d/dotfiles.git/info/exclude > will fail for the same reason as committing a dotfiles.git/config > file. Since I need a post-checkout hook anyway, I will add this to the > hook as well. > > Using the .gitignore / info/exclude approach, however, has the side > effect of needing -f to add any file, which will probably train > finger memory to always use -f. > > Greetings > Marc > > -- > > ----------------------------------------------------------------------------- > Marc Haber | "I don't trust Computers. They | Mailadresse im Header > Leimen, Germany | lose things." Winona Ryder | Fon: *49 6224 1600402 > Nordisch by Nature | How to make an American Quilt | Fax: *49 6224 1600421 > _______________________________________________ > vcs-home mailing list > vcs-home@lists.madduck.net > http://lists.madduck.net/listinfo/vcs-home > _______________________________________________ vcs-home mailing list vcs-home@lists.madduck.net http://lists.madduck.net/listinfo/vcs-home