From cd2491da25546d71587bec3cc38ed1222fc43166 Mon Sep 17 00:00:00 2001 From: Cecilia Svensson Date: Fri, 20 Jan 2012 14:22:30 +0100 Subject: [PATCH] User upload documentation: Replace changes Updated section due to removal of the repo upload --replace flag. Change-Id: I574a34528ca30bbcc00e5363f92c54d3d51b4b84 Signed-off-by: Cecilia Svensson --- Documentation/user-upload.txt | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Documentation/user-upload.txt b/Documentation/user-upload.txt index 5e5f157910..cd1c30e9df 100644 --- a/Documentation/user-upload.txt +++ b/Documentation/user-upload.txt @@ -335,17 +335,17 @@ Replace Changes ~~~~~~~~~~~~~~~ To replace changes, ensure Change-Id lines were created in the -commit messages, and just use `repo upload` without the `--replace` -command line flag. Gerrit Code Review will automatically match -the commits back to their original changes by taking advantage of -their Change-Id lines. +commit messages, and just use `repo upload`. +Gerrit Code Review will automatically match the commits back to +their original changes by taking advantage of their Change-Id lines. If Change-Id lines are not present in the commit messages, consider amending the message and copying the line from the change's page on the web. If Change-Id lines are not available, then the user must use the much -more manual mapping technique offered by `repo upload --replace`. +more <> offered +by using `git push` to a specific `refs/changes/change#` reference. For more about Change-Ids, see link:user-changeid.html[Change-Id Lines].