Coding base tools: git, markdown, atom, linux cmd
coding base tools
git
创建新仓库
- git init
检出仓库
- git clone /path/to/repository
- git clone username@host:/path/to/repository
- git clone
添加与提交
- git status
- git add
/ git add -u - git add .
- git commit -m “commit info”
- git push origin master
丢弃本地代码,到服务器获取最新版本,并将本地主分支指向他
- git fetch origin
- git reset –hard origin/master
Markdown
markdown-to-slides -i markdown.md -o ./output_path/slideName.html
github markdown
slides: remark
markdown-to-slides
Atom editor
Linux
- PATH
```
- echo $PATH
- nano ~/.bashrc
- export PATH=$PATH:/home/dave/work ```
python3
- pip3 sudo apt-get install python3-pip
pip search django pip3 install django pip3 install –force-reinstall –user django==2.2.1