Project

General

Profile

git repository not update

Added by kelven xu over 14 years ago

I use redmine 0.8.7 with git on ubuntu 9.10 server. It works well at beginning. But now I found the project git repositery on redmine did not update after I commit something and push to the server. How can I make it work well again?

1-step-view-repos.png (78.6 KB) 1-step-view-repos.png tag version_1_2_1 is newest commit, but not display in repository

Replies (3)

RE: git repository not update - Added by Felix Schäfer over 14 years ago

Hello Kelven,

It might be one of two things here:
  1. If memory serves, 0.8.7 does not support git branches, that will only be available from 0.9.0 and ongoing, so it might be that redmine doesn't show the branch it is in (I have only basic knowledge of git, so I'm not sure if this is related)
  2. The other possibility would be that redmine didn't fetch the changes. What scheme are you using to view changes, the cron-based one or the automatic refreshing?

RE: git repository not update - Added by kelven xu over 14 years ago

I let redmine refresh automatically, do nothing else.

I remove the git branchs at remote respoistory, and the latest commits display immediately after I refresh the web page. Everything is ok now. Thanks!

RE: git repository not update - Added by Felix Schäfer over 14 years ago

Glad it worked. 0.9.0 will support git branches, so you could try the remote branches again after you have updated.

    (1-3/3)