I am new to Git and I think I removed files on my local accidentaly. I used this command git rm -r --cached .git rm -r --cached . and it removed the files. But I didn't commit it yet.
How can I undo it?
Find centralized, trusted content and collaborate around the technologies you use most.
Learn more about CollectivesStack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
Explore Stack Internal I am new to Git and I think I removed files on my local accidentaly. I used this command git rm -r --cached .git rm -r --cached . and it removed the files. But I didn't commit it yet.
How can I undo it?
I am new to Git and I think I removed files on my local accidentaly. I used this command git rm -r --cached . and it removed the files. But I didn't commit it yet. How can I undo it?
I am new to Git and I think I removed files on my local accidentaly. I used this command git rm -r --cached . and it removed the files. But I didn't commit it yet.
How can I undo it?