gitee上创建git仓库

一、Git 全局设置:

git config --global user.name "xx"
git config --global user.email "xxx@qq.com"

二、创建 git 仓库:

mkdir smart_test_front
cd smart_test_front
git init 
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/poetic_waves/smart_test_front.git
git push -u origin "master"

三、已有仓库?

cd existing_git_repo
git remote add origin https://gitee.com/poetic_waves/smart_test_front.git
git push -u origin "master"
posted @ 2024-07-19 16:36  测试微思录-静水流深  阅读(90)  评论(0)    收藏  举报