Gerrit 커밋을 gerrit 서버로 변경

785 단어
보통 git push인데 이제 가상 지점으로 push를 해야 돼요.
Usually when you push to a remote git, you push to the reference '/refs/heads/branch', but when working with Gerrit you have to push to a virtual branch representing "code review before submission to branch". This virtual name space is known as/refs/for/
  user@host:~/demo-project$ git push origin HEAD:refs/for/master
  Counting objects: 4, done.
  Writing objects: 100% (3/3), 293 bytes, done.
  Total 3 (delta 0), reused 0 (delta 0)
  remote:
  remote: New Changes:
  remote:   http://localhost:8080/1
  remote:
  To ssh://user@localhost:29418/demo-project
   * [new branch]      HEAD -> refs/for/master
  user@host:~/demo-project$

그리고gerrit 홈페이지에 가면 이걸 볼 수 있어요. 제출할 수 있어요.

좋은 웹페이지 즐겨찾기