Skip to content

Instantly share code, notes, and snippets.

View mustafiz012's full-sized avatar
🎯
Focusing

Md. Mustafizur Rahman mustafiz012

🎯
Focusing
  • Vivasoft Limited
  • Dhaka, Bangladesh
  • 14:20 (UTC +06:00)
  • X @mustaifz012
View GitHub Profile
@mustafiz012
mustafiz012 / gist:7cfe8c89c0e3bc2d3aba
Last active August 28, 2015 18:48 — forked from aguilarcarlos/TipsForGit.md
Fixing untracked files
Even if you haven't tracked the files so far, git seems to be able to "know" about them even after you add them to .gitignore.
Run the following commands from the top folder of your git repo.
Step 1. Commit your current changes, or you will lose them.
Then:
git rm -r --cached .
git add .