Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
public:redmine2 [2019/03/08 10:41] fmichel |
public:redmine2 [2020/03/06 09:42] fmichel [Project and Repositories management] |
||
---|---|---|---|
Line 58: | Line 58: | ||
**Identifier**: either empty or same as the project's identifier | **Identifier**: either empty or same as the project's identifier | ||
- | **Path**: ''/var/lib/git/project_identifier.git'' | + | **Path**: ''/home/repos/project_identifier.git'' |
**URL**: ''https://redmine2.i3s.unice.fr/git/project_identifier.git'' | **URL**: ''https://redmine2.i3s.unice.fr/git/project_identifier.git'' | ||
+ | |||
+ | For a new project, the git repository must be created [[https://githowto.com/bare_repositories|"bare"]]. | ||
+ | To do so, connect on the redmine2 server (ssh) and do as follows: | ||
+ | <code> | ||
+ | cd /home/repos | ||
+ | cp -r git_bare_repo.git git/<project_identifier>.git | ||
+ | chown -r apache:apache git/<project_identifier>.git | ||
+ | </code> | ||
=== SVN repositories === | === SVN repositories === |