git操作说明

git可以用于版本控制,操作如下

命令行输入:

1、git config --global user.name "Your Name"
2、git config --global user.email "email@example.com"
3、cd github/
4、git init
5、git remote add origin https://git.oschina.net/fdd566/ddd.git
6、git add .
7、git commit -am "all" //双引号里的东西每次要不同
8、git pull origin master
9、git push origin master -f //不加-f 有时候会推送错误

下面这个是车牌识别easyPR的git地址

git remote add origin https://git.oschina.net/easypr/EasyPR.git