现有文件夹添加到git仓库的步骤

保存一下现有文件夹添加到git仓库的步骤(已创建好空的仓库,地址为:https://git.xxx.com/firework/xxx.git

  • cd existing_folder
  • git init
  • git remote add origin https://git.xxx.com/firework/xxx.git
  • git add .
  • git commit -m "init"
  • git push -u origin master

版权声明:本文为ST091ZSC原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。