You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Dec 15, 2022. It is now read-only.
I love this plugin! I'd love it even more if it supported commit templates.
I have a ~/.gitmessage file set up to help guide me towards better commit messages. The 'Commit message' input for this plugin does not pull content in from that file.
Steps to Reproduce
Create a ~/.gitmessage file that contains this git commit template (for example):
Why:
*
This change addresses the need by:
*
Reference Links:
*
Add this section to your ~/.gitconfig file:
[commit]
template = ~/.gitmessage
Make some changes in a repository
Open the Git plugin by opening the Packages menu, opening the GitHub sub menu, and selecting Toggle Git Tab
Click into the 'Commit message' text area
Expected behavior:
The 'Commit message' text area should be pre-populated with the contents of my ~/.gitmessage file.
hi @JamesChevalier! I've chatted about this with some other maintainers of the atom-github package. This is a great idea. Is there any chance you'd be interested in working on it yourself? We'd be happy to work with you on coming up with an architecture plan, designs, etc.
If not, that's totally fine of course -- we can add it to our roadmap of things we'd like to build in the future.
@JamesChevalier@annthurium Hi, this is really a great feature. I use commit.template a
lot. And probably the reason still using git+ for committing the changes.
Is it work in progress? I would love to work on this.
Is there already any specs for this feature?
Two ideas:
If 'commit.template' is set in gitconfig then:
Load the commit message from template into input field when atom opens.
Skip loading the commit message if there is an active merging.
After committing the changes, reload the commit message from template.
If 'commit.template' is set in gitconfig then:
Show a button "load message from template" next to "add co-authors"
Don't load any commit message by default to input field, load only when user click on load button.
If there is a message in commit input field, show another button "save message to template". Clicking on this button should update the commit.template file.
Activity
annthurium commentedon May 18, 2018
hi @JamesChevalier! I've chatted about this with some other maintainers of the atom-github package. This is a great idea. Is there any chance you'd be interested in working on it yourself? We'd be happy to work with you on coming up with an architecture plan, designs, etc.
If not, that's totally fine of course -- we can add it to our roadmap of things we'd like to build in the future.
JamesChevalier commentedon May 18, 2018
Sounds fun!
I'm primarily a Ruby developer and I've never worked on an Atom plugin before, but I'm happy to help out as much as I can and learn along the way. 👍 🚀
gauravchl commentedon Sep 28, 2018
@JamesChevalier @annthurium Hi, this is really a great feature. I use commit.template a
lot. And probably the reason still using git+ for committing the changes.
Is it work in progress? I would love to work on this.
Is there already any specs for this feature?
Two ideas:
If 'commit.template' is set in gitconfig then:
If 'commit.template' is set in gitconfig then:
annthurium commentedon Oct 5, 2018
@gauravchl sorry I never responded to your question on this issue!
Since #1713 has been merged, I'm going to go ahead and close this out. Thanks again for your contribution! ✨