Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialLasse Petersen
1,974 PointsGit stopped tracking all files after using update-index --assume-unchanged
Hi everyone
I got some Git issues that are taking too much time and was hoping you could help me out.
So here is the situation:
- I building a Laravel (5.2) web app
- i needed to stop tracking the content of a few folders and used "git update-index --assume-unchanged" in the wrong folder by a mistake
- the issue: now the majority of my files are no longer tracked
- it seems like I can add them back one by one by using: "git update-index --no-assume-unchanged FILENAME", but as we are taking about +1000 files, this is not an option
What I have tried:
- when I run: "git update-index --no-assume-unchanged *" i get: "fatal: Unable to mark file folder/subfoldername"
- when i ""git update-index --no-assume-unchanged FOLDERNAME" i get the same
- or "git update-index --no-assume-unchanged" has no effect
Looking forward to getting your input