git
需要掌握的几个命令:
1 配置 user.name
git conifg --global user.name 'hzzhero'
git config --global user.email ''
2 ssh key 配置
ssh-keygen -t rsa -C
"youremail@example.com"
然后复制到网站key...那里
3 本地项目搞到git
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/hzzhero/hhhzzz.git
git push -u origin master
4 下载
git clone https://github.com/hzzhero/hhhzzz.git
4 更新
git pull
5 提交
git add .
git commit -m “注释”
git push origin master
其他命令一般用图形化的界面操作了,但是上面这几个bash命令会经常用到