简易的命令行入门教程:

Git 全局设置:

git config --global user.name "账户名"
git config --global user.email "邮箱地址"

创建 git 仓库:

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

已有仓库?

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

相关文章:

  • 2021-06-08
  • 2022-02-08
  • 2021-12-15
  • 2022-12-23
  • 2021-07-16
  • 2021-12-27
  • 2021-06-22
  • 2021-07-29
猜你喜欢
  • 2021-04-03
  • 2022-12-23
  • 2021-05-18
  • 2021-10-08
  • 2021-08-25
  • 2021-09-29
  • 2022-12-23
相关资源
相似解决方案