In the gerrit page, click on DOWNLOAD on the right (or press d on your keyboard), a window will appear. What you want is the second option (checkout).
Alberto On Friday 14 June 2024 at 13:05:55 UTC+2 Leah Stapleton wrote: > 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/a259eb62-8b3b-40e0-8b9c-d4a9f44c7a66n%40googlegroups.com.