命令行指令

Git 全局设置
git config --global user.name "马会东"
git config --global user.email "master_ma@sinobasedm.com"
创建新版本库
git clone git@code.aliyun.com:PTU/ProjectWechat.git
cd ProjectWechat
touch README.md
git add README.md
git commit -m "add README"
git push -u origin master
已存在的文件夹或 Git 仓库
cd existing_folder
git init
git remote add origin git@code.aliyun.com:PTU/ProjectWechat.git
git add .
git commit -m "init project"
git push -u origin master

相关文章:

  • 2021-11-29
  • 2022-12-23
  • 2021-09-23
  • 2021-08-21
  • 2021-10-09
  • 2022-12-23
  • 2021-09-18
猜你喜欢
  • 2022-02-09
  • 2021-08-18
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-10
相关资源
相似解决方案