Yes. Add a .gitignore that contains * to the repository. Then git add -f just 
the files you want. 

-- 
Corey Quinn
714-333-0711

> On May 26, 2016, at 3:35 AM, Marc Haber <mh+vcs-h...@zugschlus.de> wrote:
> 
> Hi,
> 
> when I do vcsh dotfiles status, I - of course - get a lot of
> "untracked" files, mainly all that aren't tracked by this vcsh repo.
> 
> [5/103]marc@swivel:~$ vcsh dotfiles status
> On branch master
> Your branch is up-to-date with 'origin/master'.
> Untracked files:
>  (use "git add <file>..." to include in what will be committed)
> 
>        .bash_history
>        .bash_initshared~
>        .config/
>        .jed/
>        .lesshst
>        .mail/
>        .ssh/
> 
> nothing added to commit but untracked files present (use "git add" to track)
> [6/104]marc@swivel:~$
> 
> Is this just a cosmetic issue? Is there any possibility to get rid of
> it? What would be the place/name for a repo-specific gitignore file?
> 
> And, this is probably a general git question, is there a way to tell
> git "all files that I didn't explicitly add are intentionally
> untracked, don't bother me with those"?
> 
> 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

Reply via email to