ommggg

官方示例

git config --global user.name "sanqianll"
git config --global user.email "2240017707@qq.com"

创建git仓库:
mkdir 仓库名
cd 仓库名
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://......git
git push -u origin master

已有仓库?
cd existing_git_repo
git remote add origin https://gitee.com/xxx/xxx.git
git push -u origin master

分类:

技术点:

git

相关文章: