git clone git://git.openstack.org/openstack/swift
https://wiki.openstack.org/wiki/Gerrit_Workflow
- git clone $URL (get code, and the default branch name is "master")
- git checkout -b $my_branch_name (create my own branch)
- edit code under my own branch, and run unit test.
- git commit -a (commit change at local)
- git checkout master & git remote update & git pull (update master code)
- git checkout $my_branch_name
- git rebase master (rebase is done by step 5-8)
- Repeat steps 3 &4 if required.
- git review
No comments:
Post a Comment