Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Pushing Changes for Review Using a Command Line (optional)

Here are the Git commands to add some files and make a commit with an associated message:

git add somefiles

// add a JIRA identifier - for source tracking
git commit -m "am "[OOM-5] - My first Awesome commit"

Note that this is just an example and the commit message should be more explicit than that.

Now that everything is ready, you can sign off your commit:

git review -s

You may be prompted for your Linux Foundation account password. To verify that the commit worked, this command will show you the commit message and the sign off entry:

git commit -as --amend


Info
titleAutomatic signature mode

You can automatically add the signature for all your commits by setting the git configuration:

git config --global format.signoff true

Verify you are setup with the correct account

vi ~/.gitconfig

[gitreview]

        username = youruser


Eventually, we can push the change to the gerrit server:

...