Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Not completely sure what you're looking for but you can either remove the file to be ignored in future commits with</p> <pre><code>git rm --cached filename </code></pre> <blockquote> <p><em>Note that git will not ignore a file that was already tracked before a rule was added to this file to ignore it. In such a case the file must be un-tracked, usually with git rm --cached filename</em></p> </blockquote> <p>Info: <a href="https://help.github.com/articles/ignoring-files" rel="nofollow noreferrer">https://help.github.com/articles/ignoring-files</a></p> <p>Or you can tell git that it ignores the changes of a file with</p> <pre><code>git update-index --assume-unchanged filename </code></pre> <p>and undo it with</p> <pre><code>git update-index --no-assume-unchanged filename </code></pre> <p>To list all assume-unchanged files run</p> <pre><code>git ls-files -v|grep '^h' </code></pre> <p>Info: <a href="https://stackoverflow.com/questions/3833757/how-do-i-gitignore-and-delete-an-already-commited-file-without-affecting-other">How do I .gitignore and delete an already committed file without affecting other working copies?</a></p> <p>However please keep in mind that assume-unchanged is (in my opinion) against the philosophy of git and this command will only ignore it the changes made on your machine. Everyone else will still be able to overwrite it.</p> <p>In most cases you use this for configuration files. What you can do to avoid using this option is to keep it in the .gitignore and add a setup description to the README or create a little setup script which creates those files.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload