1. 在项目中:git init
2. git add .
3. git commit -m 'first'
4. git remote add origin 地址(http地址如:http://git.vipsdb.com/wkb/xxy-CR-vote-java.git)
5. git push -u origin master
添加ssh秘钥:https://www.cnblogs.com/jingjiren/p/13044160.html
1. 在项目中:git init
2. git add .
3. git commit -m 'first'
4. git remote add origin 地址(http地址如:http://git.vipsdb.com/wkb/xxy-CR-vote-java.git)
5. git push -u origin master
添加ssh秘钥:https://www.cnblogs.com/jingjiren/p/13044160.html