Are you first timer at lazacode.org? Why not join us and start exchange your programming knowledge with everyone. Register today!

Git - remove file from git repository only, and keep it for filesystem

0 votes
92 views
added Aug 16, 2018 in Git by LC Marshal Captain (26,090 points)
git rm --cached file1.txt //remove it
git commit -m "remove file1.txt" // commit

 

Please log in or register to response this reference.

lazacode.org - Malaysia's programming knowledge sharing platform, where everyone can share their finding as reference to others.
...