Git commands

Stop git tracking ALL files:

git rm -r --cached

Stop git tracking files in a folder:

git rm -r --cached IntranetCore.Web/wwwroot/js  //path relative to gitignore

Start tracking them again

git add IntranetCore.Web/wwwroot/js

Commit changes

git commit -m "Stop tracking generated JS again , keep site.js and menu.js"
Last updated: 8/12/2026 4:51:03 PM

On this page

Latest Updates

© 0 - 2026 - Mike Brind.
All rights reserved.
Contact me at Mike dot Brind at Outlook.com