SourceTree - using .gitignore
<p>I use the SourceTree app to use Git. Within my project I installed files using composer. Now I have 26.000 files in my working copy, but I now want to start with my changes and with a working copy that shows 0 changes.</p>

<p>I tried it with a .gitignore file in my projects root folder. But still - for example I can see files within the media/folder. Why is this the case and do you have a hint how I can start with a working copy from 0.</p>

<p><a href="https://i.stack.imgur.com/eZEvO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eZEvO.png" alt="SourceTree"></a></p>

<p><a href="https://i.stack.imgur.com/0JQ0w.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0JQ0w.png" alt=".gitignore"></a></p>