Git - remove specific file from repository

0 votes
230 views
added Aug 16, 2018 in Git by LC Marshal Captain (25,790 points)
//remove file from local
git rm file1.txt //remove file1.txt
git commit -m "remove file1.txt" // commit

 

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