Create new Gerrit project from pre existing git repository -
i'd introduce gerrit on project i'm working on.
at moment have git repository code committed on it.
i've initialized project follows:
- java -jar gerrit-full-2.5.2.war init --batch -d gerrit-codereview
- cd gerrit-codereview/git
- git clone --mirror git@172.18.x.x:my-repo.git
then took care of creating users , adding permissions.
i can see changes going through , can review/publish them. unfortunately thou, final "git push" (that should executed gerrit), not take place. if go manually in "gerrit-codereview/git/my-repo.git" folder , execute "git push" works fine.
any idea?
gerrit doesn't support referencing external repositories master. can use replication plugin (which ships gerrit) push external repositories, won't handle merge conflicts if changes made upstream. commonly requested feature. more information available @ how update gerrit repos changes submitted directly git?
Comments
Post a Comment