DEV Community

Andy Allison
Andy Allison

Posted on

2

Banish those unwanted repo files

I was recently tasked with moving some of our legacy svn repos over to git (I'll do another post on that once we have it completed). This is just a nice snippet that I found useful when cleaning them up a bit.

We added the .gitignore file for visual studio and then ran this little gem to clean down a few things.

git rm -r --cached .
git add .
git commit -m ".gitignore is now working"

Happy cleaning

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more