March 30, 2014

Git Extensions無法push程式碼至GitHub

Git Extensions無法將程式碼push至GitHub上,出現syntax error near unexpected token錯誤訊息


檢查路徑%USERPROFILE%\.gitconfig (以我本機來說路徑為C:\Users\Pete),發現git-credential-winstore.exe路徑有問題。將原本的!\\\"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\\\"改為!\"C:/Program Files (x86)/GitExtensions/GitCredentialWinStore/git-credential-winstore.exe\"後再重新push便不再出現相同問題。至於為何多出額外的反斜線,原因不明。


No comments: