Git - remove all files from repository

0 votes
354 views
added Aug 16, 2018 in Git by LC Marshal Captain (25,790 points)
git rm -r --cached
git commit -am "remove all files" //commit it
git push // and push to repo

 

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