Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: gerrit review amend instructions

...

Code Block
git commit -am "Initial proj struct"
git review -s
git commit -as --amend
# scroll down 2 lines (above your Change-ID) - hit "i" for insert - add: Issue-ID: OOM-500
git review
# goto https://gerrit.onap.org/r/#/dashboard/self

Amending existing gerrit changes in review

Code Block
# add new files/changes
git add .
# dont us -m - keep the same Issue-ID: line from original commmit
git commit --amend
git review -R
# see the change set number increase - https://gerrit.onap.org/r/#/c/17203/2


Prerequisite: Set Up

The actions described in this section depend on having the requisite set of tools and settings on your development machine. See Setting Up Your Development Environment.

...