Delete directory from github/gitbucket


/**
*@author Laxmi kant
*
*/

git rm -r --cached .idea
echo '.idea' >> .gitignore
git add .gitignore
git commit -m 'added .idea to ignored entries'
git push


// single file remove from remote
git rm --cached logfile.log
git commit -m 'added .idea to ignored entries'
git push


Post a Comment

2 Comments