Skip to content

Instantly share code, notes, and snippets.

@scodx
Created June 6, 2020 00:11
Show Gist options
  • Save scodx/58d5e0c4605375a22d6ee0ef14a541c6 to your computer and use it in GitHub Desktop.
Save scodx/58d5e0c4605375a22d6ee0ef14a541c6 to your computer and use it in GitHub Desktop.
Untrack files already added to .gitignore
  • edit your .gitignore file
  • git rm -r --cached [PATH], whre [PATH] is the path for the new ignored files
  • git add . or corresponding files
  • git commit - '.gitignore fix'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment