title: Ignore parent directory in Git version control
body: <p>How to ignore parent directory in <code>.gitignore</code>?
  I tried this patterns, but seems they are don't work:</p>
  
  <pre><code>/../*
  ../
  ../*
  </code></pre>