原文:http://blog.csdn.net/mounter625/article/details/8757053
最近使用SourceTree Git命令恢復項目,順便記下,防止下次忘記
恢復git reset後的commit
1.git reflog
2.找到要恢復的commit號,例如98ad499
3.git reset 98ad499
原文:http://blog.csdn.net/mounter625/article/details/8757053
最近使用SourceTree Git命令恢復項目,順便記下,防止下次忘記
恢復git reset後的commit
1.git reflog
2.找到要恢復的commit號,例如98ad499
3.git reset 98ad499
1、在Sourcetree打開終端 2、在終端輸輸入以下命令並回車執行 git config --global credential.helper store 3、重新拉取代碼並輸入密碼,問題解決。
使用SourceTree報git -c diff.mnemonicprefix=false -c core.quotepath=false revert 錯誤 刪除 index.lock 文件