I have been looking around some git docs, but can't find an answer to
this. So asking here - Is it possible to set this option per (remote)
repo level instead of per (local) branch level? For example,
irrespective of which local branch I'm on (which I later push upstream),
I don't want to accidentally push non-fast forwardable revisions to
upstream. Is that possible?
-Jaikiran
On Thursday 08 September 2011 12:20 AM, Jason T. Greene wrote:
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