Re: using --force-with-lease after git rebase

2018-10-31 Thread Junio C Hamano
Alexander Mills writes: > I have been confused about the need for --force-with-lease after rebasing > > Imagine I have a feature branch: > > git checkout --no-track -b 'feature' 'origin/dev' > git push -u origin feature > > I do some work, and then I rebase against origin/dev to keep up to > date

Re: using --force-with-lease after git rebase

2018-10-31 Thread brian m. carlson
On Wed, Oct 31, 2018 at 12:13:06PM -0700, Alexander Mills wrote: > I have been confused about the need for --force-with-lease after rebasing > > Imagine I have a feature branch: > > git checkout --no-track -b 'feature' 'origin/dev' > git push -u origin feature > > I do some work, and then I reba

using --force-with-lease after git rebase

2018-10-31 Thread Alexander Mills
I have been confused about the need for --force-with-lease after rebasing Imagine I have a feature branch: git checkout --no-track -b 'feature' 'origin/dev' git push -u origin feature I do some work, and then I rebase against origin/dev to keep up to date with the integration branch. git fetch