實機練習

  1. 練習系統的 GIT Server 架設在 http://deyu.wang/ansible_pb.git,用戶 ceuser,密碼 123qwe。
  2. 以 ceuser 登入 host 主機。
  3. 在 ceuser 家目錄 git clone 遠端 deyu.wang 的 ansible_pb repository,並設定本地端的目錄為 $mysid,變數 $mysid 為學號不加 s。
  4. git config 設定 email 為 $mysid@deyu.wang 及 name 為 $mysid。
  5. 編輯一個測試檔案 test.txt,內容為 $mysid git test。
  6. git add 將 test.txt 送到本地暫存區。
  7. git commit 將 test.txt 存入本地 git repository。
  8. git push 本地 git repository 同步到遠端 git repository。