git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC doc] Tracking git.git
@ 2021-05-13 13:05 Bagas Sanjaya
  2021-05-13 14:49 ` dwh
  0 siblings, 1 reply; 4+ messages in thread
From: Bagas Sanjaya @ 2021-05-13 13:05 UTC (permalink / raw)
  To: Git Users

Hi,

Some people (most notably Git developers here and me) like to run Git
compiled from git.git repository, as opposed to normal users that run
either Git from distribution or compiled from official source tarball.

In git.git repo, besides master, there is also next, seen, and maint
branches. The purposes of these branches are described on
Documentation/howto/maintain-git.txt.

When we have git.git repo clone and track it, tracking master, next,
and maint are easy peasy: git pull will do the job. But tracking seen
is more like tracking linux-next. We do NOT use git pull because
often doing so will try to merge origin (upstream) with our local
version, which are divergent and most likely will end with conflict.
Instead, we do git fetch first followed by resetting to upstream by
git reset --hard origin/seen.

Should the fact above be documented? And on what file the fact should
be placed? In INSTALL?

-- 
An old man doll... just what I always wanted! - Clara

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

end of thread, other threads:[~2021-05-13 22:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-13 13:05 [RFC doc] Tracking git.git Bagas Sanjaya
2021-05-13 14:49 ` dwh
2021-05-13 20:12   ` Junio C Hamano
2021-05-13 22:47   ` Felipe Contreras

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).