git repository missing commit information
Added by Kai Song over 10 years ago
Hi,
Redmine has been working out great for us. However, I just found out the git repository in redmine is missing commit information from March. This is very strange. Note, I set up the redmine installation in earlier April.
I cloned the git repo locally with:
git clone --mirror git@github.com:repo/my-repo.git
The source files and branches are up to date, just missing the commit information since March. I am not sure if I did anything wrong in redmine configuration. I also have nightly fetch via, "cd /git/repo/path/repo.git && git fetch -q --all".
Any help will be greatly appreciated.
Thanks in advance!
Kai
Replies (1)
RE: git repository missing commit information - Added by Martin Denizet (redmine.org team member) over 10 years ago
Hi Kai,
Maybe you forgot to enable the Redmine commit fetching? See:HowTo setup automatic refresh of repositories in Redmine on commit
You should also try to run your command manually to check for errors:
cd /git/repo/path/repo.git && git fetch --all
Also maybe you could have a look to HowTo simply keep Redmine in sync with GitHub, I didn't test it though.
Cheers,