通过git 提交代码到gerrit上进行code review的6个步骤

  • After change, you should update your branch first:

git fetch
git rebase origin/master

  • Check how many files you changed:

git status

 

  • git add wanted file one by one:

git add

 

  • or add all changed file:

git add .

 

  • Commit your change:

git commit -m "to realize the login model"

 

  • Push your new code to gerrit for review:

git push origin HEAD:refs/for/master

 

你可能感兴趣的:(通过git 提交代码到gerrit上进行code review的6个步骤)