git config --global user.name "hbhe0316"
git config --global user.email "13057408+hbhe0316@user.noreply.gitee.com"
创建 git 仓库:
mkdir test1234
cd test1234
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/hbhe0316/test1234.git
git push -u origin "master"
如果是已有仓库:
cd existing_git_repo
git remote add origin https://gitee.com/hbhe0316/test1234.git
git push -u origin "master"