Try   HackMD

GIT ft.Github 雲端版本庫

tags: GIT GITHUB Work 版本控管 雲端倉庫

github方面

註冊並登入github
點即以下

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

點 NEW 建立新專案

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

輸入名稱後 create repository

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

git bash方面

先進入檔案位置

cd d:\名稱.副檔名

檢查是否有關聯的遠端空間

git remote
git remote -v

都是空的就是沒有

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

接著輸入以下
origin 可以自己取名
後面輸入github建立成功專案的網址

git remote add origin https://github.com/dexxxxx8/gxxxxt.git

再次檢查是否成功

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

成功關聯後推送

git push origin(上面自訂名稱) master

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

上一篇-建立專案 | 下一篇-私人儲存庫