From f515a62e66ca42f8e2dcb956fa2dc7a330aa107d Mon Sep 17 00:00:00 2001 From: Darragh Bailey Date: Thu, 28 Aug 2014 15:34:19 +0100 Subject: [PATCH] Include creation of branch and provide name in docs Before submitting changes for an import branch in the target gerrit, need to ensure there is a branch in the remote created from the correct base point. Additionally need to supply a branch name when uploading for review against a non-default branch. 'git-upstream' will create a 'base' branch, specifically to provide a reference to the starting point of the new import. This can be used to push up the correct starting point of the new import, before uploading changes for review. Change-Id: If80057ad32838380d521d30609ead455d6905d2a --- USAGE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/USAGE.md b/USAGE.md index bd535a6..0af0965 100644 --- a/USAGE.md +++ b/USAGE.md @@ -372,7 +372,8 @@ In this case we want to review every new commit (wrt the last import). In order ```bash git checkout import-xxxxx -git review +git push gerrit import-xxxxx-base:import-xxxxx +git review import-xxxxx ``` If there is more than one new commit, git-review will ask to confirm the submission of multiple changes.