赞
踩
1、登录gitee- - >点击仓库- - >创建仓库
2、新建仓库,填入仓库信息,点击创建
3、这时会生成一个初始化文件,一些命令:
## Git 全局设置
git config --global user.name "自己的用户名"
git config --global user.email "自己的邮箱"
## 创建 git 仓库:
mkdir oao
cd oao
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/自己的用户名/oao.git
git push -u origin "master"
## 已有仓库?
cd existing_git_repo
git remote add origin https://gitee.com/自己的用户名/oao.git
git push -u origin "master"
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。