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
| // Reference: http://lea.verou.me/2011/10/easily-keep-gh-pages-in-sync-with-master/ | |
| $ git add . | |
| $ git status // to see what changes are going to be commited | |
| $ git commit -m 'Some descriptive commit message' | |
| $ git push origin master | |
| $ git checkout gh-pages // go to the gh-pages branch | |
| $ git rebase master // bring gh-pages up to date with master | |
| $ git push origin gh-pages // commit the changes |
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
| # create gh-pages branch | |
| git checkout --orphan gh-pages | |
| git rm -rf . | |
| touch README.md | |
| git add README.md | |
| git commit -m 'initial gh-pages commit' | |
| git push origin gh-pages | |
| # add gh-pages as submodule | |
| git checkout master |
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
| { | |
| "python.linting.enabled": true, | |
| "python.linting.pylintEnabled": false, | |
| "python.linting.pycodestyleEnabled": true, | |
| "python.linting.pycodestylePath": "/home/belem/.local/bin/pycodestyle", // 设置pycodestyle的全局路径,需要在使用全局python pip安装 | |
| "python.formatting.provider": "autopep8", | |
| "python.formatting.autopep8Path": "/home/belem/.local/bin/autopep8", | |
| "workbench.colorTheme": "Monokai", | |
| "window.zoomLevel": 0, | |
| "editor.fontSize": 14, |
OlderNewer