I tried to sync my local git repository to the remote server and got some error messages saying certain objects are not valid object: "... does not point to a vlid object".
After searching the net, these two commands solve my problem:
git remote prune origin git gc --prune=now
After that, re-sync my repository without problem.
No comments:
Post a Comment