赞
踩
可复制的代码命令:
1.Git 全局设置:
- git config --global user.name "自己的名字"
- git config --global user.email "自己的电子邮箱"
2.创建 git 仓库:
- mkdir me_gitee
- cd me_gitee
- git init
- touch README.md
- git add README.md
- git commit -m "first commit"
- git remote add origin https://gitee.com/dong_qian2/me_gitee.git
- git push -u origin "master"
3.已有仓库?
- cd existing_git_repo
- git remote add origin https://gitee.com/dong_qian2/me_gitee.git
- git push -u origin "master"
- git add .
- git status
- git commit -m "提交的说明,自己按提交的内容写"
- git push origin master
- git pull origin master
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。