[Fedora-livecd-list] Bring me up to speed on using git for livecd-tools

Jesse Keating jkeating at j2solutions.net
Tue Aug 24 17:06:00 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 8/24/10 3:13 AM, Marc Herbert wrote:
> Le 12/08/2010 21:55, Bruno Wolff III a écrit :
> 
>> I like to avoid having merges appear upstream if they aren't really
>> necessary.  I think there is a way to do a merge with upstream to
>> your local repo so that when you do the push it looks like just new
>> commits were added without a merge. But I don't remember the command
>> right now.
> 
> Are you thinking about "git rebase"?
> 
> "rebase" is the "replay" command: it tries to replay/relocate all your
> local commits on top of a moving head (typically: the upstream head).
> You need git rebase when you want a linear history; it is the
> "anti-merge" / "anti-diamond" command.
> 
> You need to run "git fetch" first. "git help rebase" has nice
> diagrams, no real need to google (but it does not hurt).
> 
> git rebase --interactive is also great to rewrite your own, local,
> private history, but this is another story.
> 

See also "git pull --rebase"

- -- 
Jesse Keating
Fedora -- Freedom² is a feature!
identi.ca: http://identi.ca/jkeating
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkxz+/gACgkQ4v2HLvE71NWxgQCeOgKa7o0udajBrA6ipTiY1pPr
DPUAoIabx/0iv42IBRbhk9zPSOLrm0Om
=xC+r
-----END PGP SIGNATURE-----


More information about the livecd mailing list