{"thread":{"id":"24216","subject":"Is there a way to enforce '-x' when running git cherry-pick?","startedAt":"2010-06-28T15:55:22Z","lastAt":"2010-07-05T05:11:18Z","messageCount":2,"participants":["Erez Zilber","Antriksh Pany"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"144389","messageId":"AANLkTinWcGZksUfs33BcA-Dz6z8uvUFSW_SY6QQyDhVy@mail.gmail.com","threadId":"24216","inReplyTo":null,"subject":"Is there a way to enforce '-x' when running git cherry-pick?","fromName":"Erez Zilber","fromEmail":"erezzi.list@gmail.com","sentAt":"2010-06-28T15:55:22Z","receivedAt":"2010-06-28T15:55:22Z","isPatch":false,"sender":{"key":"erezzi.list@gmail.com","avatar":null},"body":"Hi,\n\nRunning git cherry-pick with the '-x' flag seems very helpful for me\nwhen cherry-picking commits between branches on a public reporsitory.\nIs there a way to run it with '-x' by default?\n\nThanks,\nErez\n"},{"id":"144793","messageId":"AANLkTikNktETMLyF6HUxxPb7pbMVSK5GRJquu_XPA05b@mail.gmail.com","threadId":"24216","inReplyTo":"AANLkTinWcGZksUfs33BcA-Dz6z8uvUFSW_SY6QQyDhVy@mail.gmail.com","subject":"Re: Is there a way to enforce '-x' when running git cherry-pick?","fromName":"Antriksh Pany","fromEmail":"antriksh.pany@gmail.com","sentAt":"2010-07-05T05:11:18Z","receivedAt":"2010-07-05T05:11:18Z","isPatch":false,"sender":{"key":"antriksh.pany@gmail.com","avatar":null},"body":"Hi\n\nNot sure if there is an easy way to change the default behavior\nwithout meddling with code. An alias which can take the same name as a\ncommand may have helped (with possible downsides), but that does not\nwork apparently.\n\nYou can effectively create a different command name through an alias like this:\ngit config alias.cherry-pick-x \"cherry-pick -x\"\n\nAnd henceforth use:\ngit cherry-pick-x\n(You may use a shorter/different alias as might be convenient)\n\nThanks\nAntriksh Pany\n\nOn Mon, Jun 28, 2010 at 9:25 PM, Erez Zilber <erezzi.list@gmail.com> wrote:\n> Hi,\n>\n> Running git cherry-pick with the '-x' flag seems very helpful for me\n> when cherry-picking commits between branches on a public reporsitory.\n> Is there a way to run it with '-x' by default?\n>\n> Thanks,\n> Erez\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n"}]}