廢話不多說,直接開始

1. 進入https://github.com/ 建立你的賬號,然後開始建立一個你的倉庫(基本概念請自行百度),比如jun。

2. 建立好倉庫之後,下載git

3,設定git,就是設定你的使用者名稱和郵箱

  1. git config --global user.name "your_username"
  2. git config --global user.email [email protected]

4,本地自己電腦上建立資料夾,jun

5, 開啟git ,進入建立的資料夾jun , 執行

6,然後拉取遠端伺服器上的倉庫檔案

7,然後你就開始開始編輯檔案,開始開發了,當開發完之後,可以新增和上傳檔案

git add 1.file (新增到快取區)

git commit -m "ddsst" (新增到工作區)

8, 最後新增到遠端倉庫

git remote add origin https://your_username@bitbuck

git push origin maste

9, 最後可以用

git status 檢視一下檔案的狀態