Last active
March 18, 2020 00:49
-
-
Save devwax/d809d61ebadb6cf9900b495d82ce3ede to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pull remote branch to server | |
# https://stackoverflow.com/a/9537923/2480125 | |
git fetch origin | |
git checkout --track origin/feb-2020 | |
# Untrack directory that was previously commited but should now be ignored | |
# https://stackoverflow.com/a/7927283/2480125 | |
git rm -r --cached wp-content/plugins | |
git commit "'Remove ignored directory /****/" | |
git push origin master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment