0
点赞
收藏
分享

微信扫一扫

git创建 git 仓库 和已有仓库

五殳师兄 2022-04-24 阅读 80
python后端
第一 获取分支
git clone -b NewGlue https://gitee.com/software-group/Glue_wrinkle.git

第二 cd Glue_wrinkle
进入文件夹

第三
git add README.md
git commit -m "first commit 提交内容"
git push


创建 git 仓库:

mkdir small-frame-glue-2
cd small-frame-glue-2
git init 
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/software-group/small-frame-glue-2.git
git push -u origin "master"

cd existing_git_repo
git remote add origin https://gitee.com/software-group/small-frame-glue-2.git
git push -u origin "master"

操作

举报

相关推荐

0 条评论