您的位置:首页 > 其它

使用coding云作为git远程库

2016-02-29 00:01 260 查看
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 "自己的邮箱"
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: