使用coding云作为git远程库

1.在命令行中创建GIT仓库

mkdir DriveAssistant
cd DriveAssistant
git init
echo "# DriveAssistant" >> README.md
git add README.md
git commit -m "first commit"
git remote add origin https://git.coding.net/crxx/DriveAssistant.git
git push -u origin master

2.已有项目

git remote add origin https://git.coding.net/crxx/DriveAssistant.git
git push -u origin master

3.git命令行教程

 

廖雪峰的Git教程

 

4.如果是第一次使用,需要验证远程端用户和密码

git config --global user.name "自己的用户名"  

git config --global user.email "自己的邮箱"  

posted @ 2016-02-29 00:01  一斗才  阅读(241)  评论(0编辑  收藏  举报