git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Any command to simplify 'git fetch origin && git reset --hard origin/master'?
@ 2008-01-19  5:22 Ping Yin
  2008-01-19  6:04 ` David Symonds
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Ping Yin @ 2008-01-19  5:22 UTC (permalink / raw)
  To: Git Mailing List

I often encounter the case that the origin reposotory is rebased and i
make sure i want to use the origin head as my master
Now I have to do
$ git fetch origin && git reset --hard origin/master

Should we introduce 'git pull --force-update' or something else to do
the command combination?

-- 
Ping Yin

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2008-01-20  8:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-19  5:22 Any command to simplify 'git fetch origin && git reset --hard origin/master'? Ping Yin
2008-01-19  6:04 ` David Symonds
2008-01-19  7:06 ` Junio C Hamano
2008-01-19  8:03   ` Ping Yin
2008-01-19  8:06     ` Junio C Hamano
2008-01-19  8:08       ` Ping Yin
2008-01-19 11:15 ` Johannes Schindelin
2008-01-19 14:03   ` Ping Yin
2008-01-19 22:50     ` Johannes Schindelin
2008-01-20  8:51       ` Ping Yin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).