So firstly you can: git config branch.master.rebase true Which will always make "git pull" do a fetch and rebase (like pull --rebase). This does presume that you actually have a tracking branch.
Secondly, to change remotes, assuming you had a simple cloned setup: git remote add new_origin some_url git config branch.master.remote new_origin git remote rm origin
Having remote tracking branches automatically makes alot of sense, take a look at branch.autosetupmerge and branch.autosetuprebase in git-config(1) for the whole story.
Date: Wed, 21 Oct 2009 13:09:10 -0400 From: Todd Zullinger tmz@pobox.com To: cobbler development list cobbler-devel@lists.fedorahosted.org Subject: Re: Reminder: if your github is branched off my github, don't do that :) User-Agent: Mutt/1.5.20 (2009-06-14)
Michael DeHaan wrote:
git fetch fedora && git rebase fedora/master
FWIW, git pull takes a --rebase option as well, which gets you the same thing as git fetch fedora && git rebase.
(Oh, and thanks for all the great work and best of luck in your new adventures Michael!)
-- Todd OpenPGP -> KeyID: 0xBEAF0CE3 | URL: www.pobox.com/~tmz/pgp
Nothing is wrong with California that a rise in the ocean level wouldn't cure. -- Ross MacDonald (1915-1983)
cobbler-devel mailing list cobbler-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/cobbler-devel