Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: git pull failed
- X-seq: zsh-workers 34861
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh workers <zsh-workers@xxxxxxx>, Jun-ichi Takimoto <takimoto-j@xxxxxxxxxxxxxxxxx>
- Subject: Re: git pull failed
- Date: Thu, 9 Apr 2015 09:51:49 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=2PwdqBC5wqtnB5oczC8riaqc6zE2YQ6DUD7q4iibnZs=; b=sajkAHwDdcpc9b5XvhCwxpbMe6e3hf/FAKU+1Cpk/3LTPK2+882M/VNfcCjwIQ7FfR mScwcHOHeCKI/oYAZLnm46JJBcZiibEmtEn2jTLrMLu7Mni4IzVM+9sa/KLl/NMQ+4WW E/v6x8rbJWvdHwllOcbOypMPhoBp5ZxYmpbblDvc5IdxQsNmAUcnYr8QnaPnxoY4eHiX cY+iv7Ls+IFoUh244E6oxfFZIKayp8K7VyLQIeSnRhgs+OVviyHK5wxhSBxZG1cE8Qnp kpOoa4CFoya55YTt/x/VoSHYi2GmD7TgnMIFQ1FUxSb0o3IOErXS35asOE8KWG1/dQfA 7t1w==
- In-reply-to: <20150409070233.GI2805@localhost.localdomain>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20150409070233.GI2805@localhost.localdomain>
On Thu, Apr 9, 2015 at 9:02 AM, Han Pingtian <hanpt@xxxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> Today git pull failed with those message:
>
> % git pull
> remote: Counting objects: 51, done.
> remote: Compressing objects: 100% (35/35), done.
> remote: Total 35 (delta 30), reused 0 (delta 0)
> Unpacking objects: 100% (35/35), done.
> From git://git.code.sf.net/p/zsh/code
> + ca946b6...be5f561 master -> origin/master (forced update)
[...]
> What shall I do for pulling master?
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).
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author