# git ftp 指南 ###### tags: `Intern Life` 首先設定user、password、跟ftp位址 git config git-ftp.user {使用者名稱} git config git-ftp.password {密碼} git config git-ftp.{自訂變數}.url 124.150.130.228/httpdocs/{資料夾名稱}/ 檢查是否有設定成功 git config -l 上傳包含最新提交的hash的 .git-ftp.log git ftp catchup -s {自訂變數} 使用filezilla手動將 .git-ftp.log拉下來確認提交hash 將要做好的提交的前一個提交hash貼到 .git-ftp.log檔裡並從新傳上目的地主機 push: git ftp push -s {自訂變數}