Git
SourceTree on Mac OS does not remember password
If Sourcetree always ask for password that cannot save to keychain, try this command line as below
git config --global credential.helper osxkeychain
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
進到Xcode->Preference->Location->Command Line Tool此時為空的,選擇一個即可
執行 git diff commit1 commit2 > file.diff 指令,比對兩個版本間的差異, 並內容匯出至 file.diff,其中 commit1 請用較舊的版本,而 commit2 則用較新的版本
Sourcetree 修改 username
Sourcetree -> Preferences -> Advanced

Last updated
Was this helpful?