Re: how do you "force a pull"?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dan Chokola
Date: Saturday, August 25, 2007 - 4:31 am

On 8/25/07, Jing Xue <jingxue@digizenstudio.com> wrote:

I've had the same trouble and it also brings up the question, why
can't one fetch into the current branch? To work around git pull's
behavior, I generally either:
- git reset --hard HEAD^^^^^^^ && git pull
 or
- git checkout someotherbranch && git fetch -f origin master

So why doesn't pull -f understand that it should force an update to
the history? And is there some reason I'm missing for why fetch won't
fetch on the current branch?

-- 
Dan Chokola
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
how do you &quot;force a pull&quot;?, Jing Xue, (Sat Aug 25, 4:19 am)
Re: how do you "force a pull"?, Dan Chokola, (Sat Aug 25, 4:31 am)
Re: how do you &quot;force a pull&quot;?, David Watson, (Sat Aug 25, 4:37 am)
Re: how do you &quot;force a pull&quot;?, Jing Xue, (Sat Aug 25, 4:53 am)
Re: how do you &quot;force a pull&quot;?, Randal L. Schwartz, (Sat Aug 25, 6:19 am)