On Sat, Oct 22, 2016 at 5:24 PM, Gilles <gil...@harfang.homelinux.org>
wrote:

> I don't think that's what caused all those files to be tracked:
>

Removing​ "/" from "/site-content" will make git to ignore this folder
within modules folders as well.



> ---CUT---
> $ git check-ignore site-content
> site-content
> ---CUT---
> [Meaning that "/site-content" in ".gitignore" effectively ignores
> that directory.]
>
> $ git ls-tree -r master --name-only
> ... output skipped ...
> [Shows that the files were not tracked on "master".]
>
> I think that it would be better to delete that branch and create
> a clean one (to avoid having those spurious files in the history).
>

​Done.​


Best regards,
                      Artem Barger.

Reply via email to