标签:
Git 全局设置:
git config --global user.name "sdafd" git config --global user.email "436565@qq.com"
创建 git 仓库:
mkdir NEW cd NEW git init touch README.md git add README.md git commit -m "first commit" git remote add origin https://git.oschina.net/sdafd/NEW.git git push -u origin master
已有项目?
cd existing_git_repo git remote add origin https://git.oschina.net/sdafd/NEW.git git push -u origin master
标签:
原文地址:http://www.cnblogs.com/zhuiluoyu/p/4902387.html