Skip to content

Instantly share code, notes, and snippets.

@diegofelix
Created February 9, 2015 11:42
Show Gist options
  • Select an option

  • Save diegofelix/a5ba281824c46fe613f3 to your computer and use it in GitHub Desktop.

Select an option

Save diegofelix/a5ba281824c46fe613f3 to your computer and use it in GitHub Desktop.
Remove a tracked file in .gitignore
git rm --cached file.txt
git commit -m "Removed file.txt from cache"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment