Skip to content

Remove tracking from a file that was added in .gitignore

You may pushed a commit file the basic data for a file to your repo, but no longer need or want to do that. Git still tracks that file though, so you need to remove it from the index of tracked git files. You can do this with the git rm command:

[sc name=”src” url=””]

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.