From: Brandon Casey Date: Thu, 17 Jan 2008 17:33:06 GMT Subject: Re: git fetch+rebase on a local tracking branch Message-ID: In-Reply-To: <6C0A045B-658F-4ECE-93DB-A61F77AAA1F8@sb.org> On Thu, 17 Jan 2008, Kevin Ballard wrote: > When I'm working on a local tracking branch, is there an easier way to do > `git fetch && git rebase origin/branch`? I could imagine either a config > value like branch.master.rebase = remotes/origin/master (although it would be > nice to avoid duplicating the remote name, since we already have > branch.master.remote), or perhaps a --rebase command to git pull such that it > simply performs a rebase instead of a merge. > > Is there some reason there isn't already a solution like this, or am I simply > missing something? It exists in master. commit cd67e4d46b122b161f2ad7d943e4ae7aa8df6cf5 Author: Johannes Schindelin Date: Wed Nov 28 13:11:07 2007 +0000 Teach 'git pull' about --rebase ... -brandon