Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
SOLVED: I removed bronze.html and now it doesn't show when running `git status`
bronze.html, and in trying to unstage it, I completely removed it from the working tree and from the index. My history of commands is this:
$git add bronze.html
$git rm -f bronze.html
After running the second
$git status command,
bronze.html was completely removed from the
Untracked files list. Also, clicking the file in the sidebar returns an error message saying that the file was removed, or something like that.
I deleted the workspace and created a new one, and now I can access the file from the sidebar, but it is still missing from the
Is there anything I can do to revert these changes?
Megan AmendolaTreehouse Teacher
Way to solve your issue! If you remember your solution post it for others.