保存一下現有文件夾添加到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
保存一下現有文件夾添加到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