New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command to edit default commit format #51
Comments
This is a great idea. I'll see if I can add this in before the end of the week. |
I suppose you already use some sort of template (ERB) for this? A command that pops up that template for editing would be the easiest thing I think. |
We're currently hijacking the git's native Off the top of my head I was thinking about just using a git-config var to store the value of the template you'd want to use and then just using mustache-style escaping like "This fixes {{pull_request_number}}" You're more than welcome to take a stab at this if you have a better idea. Just let me know so I don't step on your toes. |
I would, unfortunately I'm swamped atm. |
just trying out git reflow, and really liking what I've seen - this is one we'd love to have.
be happy to try and grab some time to make this happen. |
@bakesteve sure give it a go! Ah, yeah we've only tested gitreflow on Ubuntu and OSX... We've recently refactor the file you referenced to here: https://github.com/reenhanced/gitreflow/blob/master/lib/git_reflow/git_helpers.rb#L60 I imagine you're getting that error message since the file Let me know where I can help. |
Going to take a look at this later this week if you don't mind. Any particular way you want this done? |
That all sounds good. I'm a little hesitant on adding |
Don't think we'll need the
|
This was completed with 8eb3391. It introduced a new commit message template (MERGE_COMMIT_TEMPLATE ), in addition to the PULL_REQUEST_TEMPLATE (which is loaded from the standard paths that GitHub expects them), and adds the ability to define |
During the setup there was no option to specify a default commit format. I apologise in advance if I overlooked such a feature.
In my case I want to remove all the squashed commit information from the default commit text, since this info is not relevant in any case and just takes up space.
The text was updated successfully, but these errors were encountered: