简易的命令行入门教程
Git 全局设置:

git config --global user.name "xxx"
git config --global user.email "xx@qq.com"
创建 git 仓库:

mkdir projects
cd projects
git init
touch README.md
git add README.md
git commit -m "first commit"
git remote add origin https://gitee.com/*****.git
git push -u origin master
已有仓库?

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

相关文章:

  • 2022-12-23
  • 2021-11-28
  • 2021-12-27
  • 2021-09-25
  • 2021-05-25
  • 2021-12-10
  • 2021-06-28
猜你喜欢
  • 2021-11-05
  • 2021-11-29
  • 2021-10-29
  • 2021-05-23
  • 2021-12-02
相关资源
相似解决方案