Use the following commit message conventions:
(SIMP-999) Fix the broken thing [50 chars max] SIMP-998 #comment Comment on a related issue [72 chars max] |
---|
The commit message should be the following format:
Use git rebase -i
to squash commits (use git rebase -i HEAD~n
to go back n commits)
git add
or
delete
(this stages the build with the relevant changes; add --all will add all the new changes, otherwise add or delete to tailor your changeset)
git commit --amend (this amends the previous commit)
NOTE: The final line of the amended commit message must include the Gerrit review's Change-ID (example: "Change-Id: Ie536768505a1baff45d6ad3ae4de9e7501ffb53c"
)
git push --force
(this sends back to master)
git-review
package to make submitting patch sets easier.git-review
packagegit remote add gerrit <url>
git-review -r gerrit