Last active
May 6, 2019 06:06
-
-
Save khoahuynhdev/f9938d849f0498c7738f6b48b0b1383c to your computer and use it in GitHub Desktop.
useful methods to handle some situations
This file contains hidden or 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
// If you’ve accidentally checked in node_modules before, that’s okay. You can remove it like this: | |
echo 'node_modules' >> .gitignore | |
git rm -r --cached node_modules | |
git commit -am 'ignore node_modules' | |
// create dump data for mysql | |
// SET PATH FIRST | |
mysqldump -u YourUser -p YourDatabaseName > wantedsqlfile.sql | |
// Use utf8 in CMD Windows | |
cmd /K chcp 65001 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment