[jboss-as7-dev] Preventing merge commits

Jason T. Greene jason.greene at redhat.com
Wed Sep 7 14:50:51 EDT 2011


If you want to prevent merge commits from ever entering a particular 
branch of yours, say master, just do this:

git config branch.master.mergeoptions --ff-only

-- 
Jason T. Greene
JBoss AS Lead / EAP Platform Architect
JBoss, a division of Red Hat


More information about the jboss-as7-dev mailing list