git, repo, gerrit 基礎教學
Post on 22-Apr-2015
2.343 Views
Preview:
DESCRIPTION
TRANSCRIPT
- 1. Gerrit Code Review 2014.04.01
- 2. Coding convention 4 space (tab) width, height CSS selector
- 3. Code Review http://review.xxx.com commit message ( Gerrit ) patch commit message JIRA id()commit message JIRA patch debug
- 4. Gerrit Windows git http://blog.crboy.net/2012/05/git-on-windows.html signup SSH Public Keys Username
- 5. SSH Public key () Git Bash ssh-keygen enter C:Users.sshid_rsa Gerrit SSH Public key https://help.github.com/articles/generating-ssh- keys#platform-windows
- 6. Gerrit Q & A Permission denied (publickey). ~/.gitcong ~/.ssh/cong User name email
- 7. code repo init -u ssh://Username@xxx.com:29418/ ih/manifests.git repo sync
- 8. branch repo start branch
- 9.
- 10. commit git add git commit commit commit ( git commit -a commit)
- 11. git diff tab space
- 12. gerrit
- 13. code review tab
- 14. Code-review +2 patch submit +1 patch +0 -1 patch ( coding style ) -2 patch ( rebase ) -2 reviewer patch submit
- 15. --amend patch merge patch --amend
- 16. --amend log commit message message
- 17. Gerrit
- 18.
- 19. merge repo sync server code DOREMI
top related