On Thu, May 26, 2016 at 07:06:48PM +0200, Matthias Thubauville wrote:
> 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

vcsh write-gitignore does this automatically, Richi whispered to me.
That's good enough. git is obviously flexible, but not _this_
flexible. vcsh is pushing git's limits far enough.

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

Reply via email to