git remote - 遠端數據庫

將檔案上傳至github

到github新增專案

新增後會產生一段網址

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/6468fd52-6fb5-4360-bd88-c17431a847fc/1570006781529.jpg

透過命令提示字元,移動到指定的資料夾 cd 資料夾位置

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/fb6a61cb-32f8-4d65-a090-c5f86f47e161/1570006685896.jpg

git clone複製剛剛github產生的網址,新增後可以在資料夾中看到剛剛github新增檔名的資料夾

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/95259ae4-37e2-4bc3-9eb1-487519456b35/1570006931983.jpg

將資料傳到遠端數據庫(github)

$ git push origin master

https://s3-us-west-2.amazonaws.com/secure.notion-static.com/9a2016f9-4353-47b1-b649-d224a7b11a85/1570009504737.jpg