Re: Process of updating a local branch from another with tracking

2014-02-13 Thread Chris Packham
On 13/02/14 10:55, Robert Dailey wrote: > I have the following alias defined: > sync = "!f() { cbr=$(git rev-parse --abbrev-ref HEAD); git co $1 && > git pull && git co $cbr && git rebase $1; }; f" > > The goal is to basically update a local branch which tracks a branch > on a remote, and then reb

Process of updating a local branch from another with tracking

2014-02-12 Thread Robert Dailey
I have the following alias defined: sync = "!f() { cbr=$(git rev-parse --abbrev-ref HEAD); git co $1 && git pull && git co $cbr && git rebase $1; }; f" The goal is to basically update a local branch which tracks a branch on a remote, and then rebase my local topic branch onto that updated local br