Gerrit workflow using git-repo

This is the workflow I use when working with gerrit and git-repo

  1. Create a git-repo branch
    cd ~/myrepo
    repo start mybranch myproject
  2. Make changes and commit
    vim myclass.cpp
    git add myclass.cpp
    git commit -s
  3. Push to gerrit to master branch using your branch name as topic
    repo upload -D master -t
This entry was posted in Yocto and tagged , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *