I do what Jacob does, except I don't usually use the -f flag as I don't want to reset the position I have checked out. I didn't even know there was a `git cl checkout`. It seems like a bug that that's not working, though.
-- Dirk On Tue, Aug 20, 2024 at 3:25 AM Jakob Kummerow <[email protected]> wrote: > I use `git cl patch -f 5797602` to patch in a Gerrit issue on another > machine. Notably, the `-f` part causes the current branch to be reset to > the position that was the ancestor of the uploaded patch, so (1) applying > the patch will be guaranteed not to run into merge conflicts, and (2) you > can even upload the next patch set from the other machine without > accidentally introducing rebasing artifacts. > > > On Tue, Aug 20, 2024 at 12:17 PM Erik Corry <[email protected]> > wrote: > >> Hi >> >> Do people work on the same gerrit cl from multiple machines? I tried git >> cl checkout but it doesn't work. >> >> eg. for https://chromium-review.googlesource.com/c/v8/v8/+/5797602 >> >> $ cat ../.gclient >> solutions = [ >> { >> "name": "v8", >> "url": "https://chromium.googlesource.com/v8/v8.git", >> "deps_file": "DEPS", >> "managed": False, >> "custom_deps": {}, >> }, >> ] >> $ git cl checkout -v 5797602 >> No branch found for issue 5797602. >> >> >> -- > -- > v8-dev mailing list > [email protected] > http://groups.google.com/group/v8-dev > --- > You received this message because you are subscribed to the Google Groups > "v8-dev" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/v8-dev/CAKSzg3TcCqetMacaa%2BeLFbCWgR%2Bx2rYL0ytXuAN4f0R1kT72Sw%40mail.gmail.com > <https://groups.google.com/d/msgid/v8-dev/CAKSzg3TcCqetMacaa%2BeLFbCWgR%2Bx2rYL0ytXuAN4f0R1kT72Sw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev --- You received this message because you are subscribed to the Google Groups "v8-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/v8-dev/CAEoffTAwEf%3D8rbAKmCwpaK03UWmSX7NERiacp1iVcOo5k_eKtA%40mail.gmail.com.
