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.
~/.gitmessage file that contains this git commit template (for example):Why:
*
This change addresses the need by:
*
Reference Links:
*
~/.gitconfig file:[commit]
template = ~/.gitmessage
Expected behavior:
The 'Commit message' text area should be pre-populated with the contents of my ~/.gitmessage file.
Actual behavior:
The 'Commit message' text area is blank.
Reproduces how often:
๐ฏ
Mac OS 10.13.4
Output of atom --version:
Atom : 1.27.0
Electron: 1.7.11
Chrome : 58.0.3029.110
Node : 7.9.0
Output of apm --version:
apm 1.19.0
npm 3.10.10
node 6.9.5 x64
atom 1.27.0
python 2.7.15
git 2.17.0
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.
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. ๐ ๐
@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:
@gauravchl sorry I never responded to your question on this issue!
Since https://github.com/atom/github/pull/1713 has been merged, I'm going to go ahead and close this out. Thanks again for your contribution! โจ
Most helpful comment
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. ๐ ๐