Project

General

Profile

how to clone git repository on redmine?

Added by buhawi jack about 13 years ago

pls help..

thankz _


Replies (13)

RE: how to clone git repository on redmine? - Added by buhawi jack about 13 years ago

i also tried that one... but redmine said that the entry or revision not found........

:(

RE: how to clone git repository on redmine? - Added by d fflyy about 13 years ago

I also encountered this problem ... _

RE: how to clone git repository on redmine? - Added by Felix Schäfer about 13 years ago

What errors do you get? Have a look at log/production.log and log/scm_errors.log.

RE: how to clone git repository on redmine? - Added by buhawi jack about 13 years ago

.... tnx felix... i already configured my git repository in redmine...

but do you know how to clone git repository dfrom redmine?

RE: how to clone git repository on redmine? - Added by Felix Schäfer about 13 years ago

Redmine doesn't serve repositories, it only reads and shows them in the web view.

RE: how to clone git repository on redmine? - Added by buhawi jack about 13 years ago

ahhmm tnx so much... but how can i add files to the git repository of my boss?... i am not the server..

RE: how to clone git repository on redmine? - Added by Felix Schäfer about 13 years ago

You need to push changes to the repository used by redmine, or have a cronjob fetch changes from a distant git repository to the one redmine uses.

RE: how to clone git repository on redmine? - Added by buhawi jack about 13 years ago

i cant understan it...

what do you mean by cronjob fetch?

can you give me sample code?

also a sample code of pushing changes to the repository used by redmine.... tnx

RE: how to clone git repository on redmine? - Added by Felix Schäfer about 13 years ago

buhawi jack wrote:

i cant understan it…

Have you used git before and do you know how to use git?

RE: how to clone git repository on redmine? - Added by buhawi jack about 13 years ago

I mean i cant understand.. ahhm im confused about pushing changes to the repository used by redmine and having a cronjob fetching...

i used svn before... my task is to change from svn and trac to git and redmine....

RE: how to clone git repository on redmine? - Added by Felix Schäfer about 13 years ago

Well, git is decentralized, meaning each "clone" is also a repository of its own. If you want to set up the git repository on your redmine server as the "master repository", you will have to give access to the git repository to your users either over ssh or over http/https or the git protocol. There are several tutorials around the web to achieve that.

    (1-13/13)