Relative parent directory path for .gitignore
<p>In my sbt-project I have some files that I do not want to share with my colleagues as they are personal notes and stuff like that. I want to have them <code>.gitignore</code>d. How can I do this. I placed a folder <code>personal</code> into the project and added a .gitignore there with the line</p>

<pre><code> ../personal/
</code></pre>

<p>I hoped that would hide the folder personal (including the responsible .gitignore) from git, but it seems this is not valid for git. How can I achieve this?</p>

<p>Also
    /personal/
does not work as hoped.</p>