git config --global user.name "星火"
git config --global user.email "itoracle@aliyun.com"

创建 git 仓库:

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

已有仓库?

cd existing_git_repo
git remote add origin https://gitee.com/itdb/test.git
git push -u origin master


--------------------------------------

git config --global user.name "星火"
git config --global user.email "aibook33@aliyun.com"
git remote add aidoc https://gitee.com/aibook33/aidoc.git

 

.gitconfig

[credential] 

     helper = store 

 



相关文章:

  • 2021-09-27
  • 2021-08-28
  • 2021-07-24
  • 2022-12-23
  • 2022-12-23
  • 2021-09-30
  • 2022-02-09
猜你喜欢
  • 2022-01-20
  • 2021-04-17
  • 2021-06-22
  • 2021-08-30
  • 2021-07-09
相关资源
相似解决方案