...
Committing Code
Code Block |
---|
# stage your changes git add . # commit your -amstaged "Initialchanges proj struct"with sign-off git reviewcommit -s git commit -as --amend # scroll down 2 lines (above your Change-ID) - hit "i" for insert - add: Issue-ID: OOM-500# hit "i" for insert mode # Create your commit message according to the ONAP commit message format, including the Issue-ID field https://wiki.onap.org/display/DW/Commit+Messages # hit "Esc" followed by ":wq" + enter to save and quit. # Submit your commit to ONAP Gerrit for review git review # goto https://gerrit.onap.org/r/#/dashboard/self, select your review in the "Outgoing reviews" section, and add relevant committers and reviewers by clicking the "Add..." button. |
Amending existing gerrit changes in review
...