要在 Windows 上使用 Git,可以使用 msysgit + tortoisegit
msysgit 是 Git 的核心,而 tortoisegit 則是提供一個不錯的 UI。

簡單的安裝順序:
  • 先安裝 msysgit
  • 選擇 PATH 時請選 Please choose add git path to windows command line,配合 tortoisegit
  • 安裝 tortoisegit,安裝完後會要求重開機。
  • 重開機後,點選任一資料夾右鍵選擇 git bash 進入 command line 視窗
  • 生好你的 public key 後,記得先連線到你的 git server
    #ssh yourgitserver
    會這麼做的原因是第一次登入時會有這個問題
    The authenticity of host 'gitserver' can't be established.
    DSA key fingerprint is 73:da:f4:e6:77:9c:27:44:1a:ca:eb:72:f1:fa:c8:08.
    Are you sure you want to continue connecting (yes/no)?

沒力小僧 發表在 痞客邦 留言(4) 人氣()