[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gits] Two Branches, same name

	Gary> How about just:
	Gary>     $ git remote add kdownie git-public.flux.utah.edu:...
	Gary>     $ git checkout --orphan kaptui
	Gary>     $ git pull kdownie aptui

Erk.  I'm not sure I understand this; I guess an experiment is in order.
(So far I only looked at the man page for the --orphan option.)

Even if you clear the index after running the checkout --- "git rm -rf ." ---
you would still end up in a state where the local kaptui branch isn't tracking
Keith's aptui branch.  Yes?

Maybe that's not a problem if Keith's commits are ready to be pushed up.
(But if they aren't, and Leigh were to ask Keith to make some fixes, then it
might be conveneint for the local kaptui to track Keith's aptui.)



Eric Eide <eeide at cs.utah.edu>  .         University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX