Getting local gerrit and repository working (including branches) based on a github project

后端 未结 2 1256
小鲜肉
小鲜肉 2020-12-31 19:06

Our goal is to do internal development based on a project hosted on an external repo (github) using git and gerrit. We would pull from the external repo periodically to brin

2条回答
  •  死守一世寂寞
    2020-12-31 19:26

    When you perform a git push, it only pushes the active branch (HEAD). If you wish to push all branches and tags, do something like git push origin refs/heads/* --tags

    It isn't technically required to have a local copy of the repository before pushing to Gerrit, but it is probably the easiest method.

提交回复
热议问题