Redmine/git integration - how to link Redmine issues and git commits.

Added by Chris Dew over 12 years ago

I've only been using Redmine for a few minutes, so please forgive me if the answer to this is somewhere in the documentation.

Redmine is successfully installed, I have created a project with a git repository. I can browse the git repository via Redmine with no problem.

How do I link git commits with Redmine issues?

I've created an issue, committed a fix, but can't see how to link the two. Ideally I'd like to see the commit(s) which relate to an issue in the issue.

Thanks,

Chris.

Replies (3)

RE: Redmine/git integration - how to link Redmine issues and git commits. - Added by Mischa The Evil over 12 years ago

Chris Dew wrote:

How do I link git commits with Redmine issues?

Take a look at http://www.redmine.org/wiki/redmine/RedmineSettings#Referencing-issues-in-commit-messages. This explains the feature in short.

HTH...

Mischa.

RE: Redmine/git integration - how to link Redmine issues and git commits. - Added by Chris Dew over 12 years ago

Thanks Misha, that's just what I was looking for.

RE: Redmine/git integration - how to link Redmine issues and git commits. - Added by A P 3 months ago

Hi Mischa,

Do you know how to sync the issue tracking process from creation to close with already-made commits?

I imported our Mercurial repo into RedMine and I see the commit history. I would like to manually create an issue then sync it with the commits that relate to the issue (from creation all the way to close).

How do I do this?

I'm not seeing anything on the "Issues" page that allows one to select what commit(s) the issue relates to.

(1-3/3)