how to remove a plugin folder from Git, add it to .gitignore, and remove it from your stage branch

 
.gitignore add code wp-content/plugins/*
git rm -r --cached wp-content/plugins
git commit -m "Ignore plugin folder and remove from repo"
git push origin stage

 

Post a Comment

Previous Post Next Post