Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: git pull failed



On Thu, Apr 09, 2015 at 09:51:49AM +0200, Mikael Magnusson wrote:
> I guess someone did a push -f, which they definitely should not be
> doing on a public repo. You were unlucky and pulled the commit that
> was since deleted. You can get back to a normal state by issuing
> git reset --hard origin/master
> (this will delete any committed or uncommited changes you have on the
> local master branch).
Thanks! It works just fine.



Messages sorted by: Reverse Date, Date, Thread, Author