Answers for "add file to gitignore and remove from repo"

1

add file to gitignore and remove from repo

git rm -r --cached .
Posted by: Guest on May-21-2020
3

gitignroe remove folder

git rm -r --cached some-directory
git commit -m 'Remove the now ignored directory "some-directory"'
git push origin master
Posted by: Guest on August-05-2020

Code answers related to "add file to gitignore and remove from repo"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language