git初始化:
git init
git add .
git commit -m “log”
git remote add origin https://your remote repose.git
比如我的环境:
windows8.1+git
window+r键,cmd,打开命令行
1.git add .
2.git commit -m “log”
3.git remote add origin https://zenjai@bitbucket.org/zenjai/realsocket.git
4.git push -u origin master
每次提交到代码仓库
git提交远程库
git add .
git commit -m “user log”
git push -u origin master