On Sat, Jan 29, 2011 at 10:04:01PM +0100, Robin Gareus wrote:
On 01/29/2011 10:01 PM, Robin Gareus wrote:
On 01/28/2011 04:37 PM, torbenh wrote:
you really need to keep your history clean.
take a bit of time. use git rebase -i
before you push stuff upstream.
(or at least before you merge it into the master branch)
this makes me sad.
Hi Torben,
Was that meant as sarcasm (kill the git hitory) or seriously - allow
upsteam to cherry-pick easily?
I rarely use rebase and only on local topic branches that have never
been pushed to a public repo. It changes the history and will cause
problems to anyone who has pulled that branch before.
Since you are a git guru, could you please elaborate?
answering [part of] my own question, "git guru" was the key:
http://gitguru.com/2009/02/03/rebase-v-merge-in-git/
"Rebases are how changes should pass from the top of hierarchy downwards
and merges are how they flow back upwards."
Is that what you were alluding to?
no. i am talking about a large set of commits only marked testing.
these changes are pretty much random.
however... the resulting change, is not too big. and could just have
been squashed.
and i am talking about using rebase, before pushing things up/to master.
ccherret needed to push things, because alekz was testing them.
but somthing like this should happen on a separate branch.
robin
--
torben Hohn