Use SourceTree to do a git revert, the source tree crash, then sourcetree doesn't work properly.
--
Feng
Each time I select the reverted commit, sourcetree crash
To fix that, I found following solution
First, reset to previous commit
git reset HEAD^ --hard
Second, Because I have push the commit, I have to reset that for the remote as well
git push -f
Also, Because I have another local which has pulled the change, I have do this again for that local...
Feng
没有评论:
发表评论