There is an easy way to manually associate a Redmine issue with a commit. In your project, go to the "Repository" tab, select the target revision, click the "Add" link on the right and select the target problem. You now have this revision related to your problem.
Please note that here you can also delete associations.
For both operations, you must have permission to "Manage Related Issues".
This works for Redmine version 2.4.2.
source
share