保存一下现有文件夹添加到git仓库的步骤(已创建好空的仓库,地址为:https://git.xxx.com/firework/xxx.git)
git
https://git.xxx.com/firework/xxx.git
cd existing_foldergit initgit remote add origin https://git.xxx.com/firework/xxx.gitgit add .git commit -m "init"git push -u origin master
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