Being looking into something today on the master and this sight has caught my attention http://imgur.com/MmxgbnU
It's _eight_ levels of merges, which makes the history impossible to investigate in case something needs to be figured out. I think I need to find time and write the documentation on how to use git properly, after all ;) Cos On Wed, Sep 30, 2015 at 09:32PM, Raul Kripalani wrote: > Igniters, > > 1. Git history is polluted by lots of commits like: "Merge remote-tracking > branch 'origin/ignite-1.4' into ignite-1.4". Is there a logical reason for > this? Why doesn't the team use git pull --rebase? > > 2. Let's please define a policy for Git commit messages. The current Git > history is an *utter mess*. This is totally unacceptable on master: > https://imgur.com/I95TPMd. > > a. Commit messages must carry a context. You should not oblige your > fellows to dig into the diff to understand what you've done. > > b. Even if you are referencing a JIRA ticket, please include some > context. Nobody remembers ticket numbers by heart and it's a waste of time > to open a browser tab for every commit. > > c. Pasting the full JIRA URL is wasteful and uses precious real estate. > Everybody knows that if you refer to IGNITE-nnnn, you're referring to an > ASF JIRA ticket. > > I agree with many of the tips on this post about Git commit message best > practices [1]. I suggest you read if you haven't yet. > > 3. Let's clarify the merging policy. Yakov complained because I merged a > branch without squashing. But I see people are doing this. He also > referenced a Wiki page that explained the procedure for Github pull > requests. Are we allowed to merge internal branches without squashing? > > [1] http://chris.beams.io/posts/git-commit/ > > Regards, > > *Raúl Kripalani* > PMC & Committer @ Apache Ignite, Apache Camel | Integration, Big Data and > Messaging Engineer > http://about.me/raulkripalani | http://www.linkedin.com/in/raulkripalani > http://blog.raulkr.net | twitter: @raulvk
signature.asc
Description: Digital signature