赞
踩
git add . #将代码添加到本地仓库
git commit -m "first commit" #提交到本地仓库
git remote add origin https://XXXX.git #将本地仓库的代码提交远程仓库
git push -u origin master #将仓库的代码 push到远程master分支上
git pull --rebase origin master #拉取远程仓库代码至本地仓库
git remote rm <name> #删除本地与远程的联系
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。