Skip to content
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

Option to automatically add commit message template? #735

Closed
ebousse opened this issue Oct 11, 2017 · 4 comments · Fixed by #1013
Closed

Option to automatically add commit message template? #735

ebousse opened this issue Oct 11, 2017 · 4 comments · Fixed by #1013

Comments

@ebousse
Copy link

@ebousse ebousse commented Oct 11, 2017

It would be great to have an option to automatically always load the commit message template, when preparing a commit message. What do you think?

@davvid

This comment has been minimized.

Copy link
Member

@davvid davvid commented Oct 15, 2017

That could be a useful feature. I propose using the boolean cola.commit.autotemplate git config variable to enable the feature.

@stephenmoloney

This comment has been minimized.

Copy link

@stephenmoloney stephenmoloney commented Aug 2, 2018

Is there a way to do this manually ?

@davvid

This comment has been minimized.

Copy link
Member

@davvid davvid commented Aug 2, 2018

Commit Menu > Get Commit Message Template

You have to configure git config commit.template /path/to/your/template.md first.

@stephenmoloney

This comment has been minimized.

Copy link

@stephenmoloney stephenmoloney commented Aug 2, 2018

Commit Menu > Get Commit Message Template that does it, thanks.

@davvid davvid closed this in #1013 Nov 19, 2019
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this issue Nov 28, 2019
https://build.opensuse.org/request/show/751369
by user dimstar_suse
- Update to 3.6
- Usability, bells and whistles
* The remote editor is much faster since it no longer queries
  remotes, and uses the cached information instead.
  git-cola/git-cola#986
* Commit message templates can now be loaded automatically by setting
  ``git config cola.autoloadcommittemplate true``.
  git-cola/git-cola#1013
  git-cola/git-cola#735
* The UI layout can now be reset back to its initial state by selecting
  the "Reset Layout" action.  This reverts the layout to the same state
  as when the app first launched.
  git-cola/git-cola#1008
  git-cola/git-cola#994
* Files can now be ignored in either the project's `.gitignore`, or in the
  repository's priv
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.