git-repo icon indicating copy to clipboard operation
git-repo copied to clipboard

New Pull Requests: use PR template when available

Open guyzmo opened this issue 8 years ago • 0 comments

for example, current template could be:

{% title, *body = repository.commit().message.split('\n') %}
### Title
{{ title }}

### Body
{{ '\n'.join(body) }}

{% match = re.match(repository.head.name, r'^(?P<branch_commit>\d+).*') %}
{% if match %}
closes {{ match.groupdict()['branch_commit'] }}
{% endif %}

guyzmo avatar Feb 06 '17 19:02 guyzmo