Consider the following scenario. I make a commit to the Golang source code 
repo (at https://go.googlesource.com/go) A reviewer gives me feedback and I 
need to amend my changes. While a change is in review the HEAD of the 
target branch can change, in which case a rebase is necessary as described 
in these instructions

https://gerrit-review.googlesource.com/Documentation/intro-user.html#rebase

In describing the rebase, those instruction say to do this

$ git fetch https://gerrithost/myProject refs/changes/74/67374/2 && 
git FETCH_HEAD 

I assume that, for the Go project, I would do 

git fetch https://go.googlesource.com/go 

but for the rest of the line I'm a bit puzzled. To take a concrete example, 
if this was the change I'm trying to amend

https://go-review.googlesource.com/c/tools/+/591918

What would the number(s) be that I'd add after refs/changes? Is this it?

refs/changes/591918  && git FETCH_HEAD

The example from the linked to blog post has three series of numbers 
followed by slashes etc.

refs/changes/74/67374/2

Thank you for explaining

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/5d58ae9d-980e-4ace-bc6d-ca6e0890d1bcn%40googlegroups.com.

Reply via email to