"GOT", but the "O" is a cute, smiling pufferfish. Index | Thread | Search

From:
Christian Weisgerber <naddy@mips.inka.de>
Subject:
Re: Following src with got (sic!)
To:
gameoftrees@openbsd.org
Date:
Fri, 25 Dec 2020 00:13:51 +0100

Download raw body.

Thread
Over on freebsd-git@freebsd.org I wrote:

> Update your source:
> $ cd /usr/src
  $ got fetch -a
> $ got update -b origin/stable/12
> $ got rebase stable/12
> 
> This is the standard configuration which allows you to have changes
> on a local branch distinct from the upstream origin/* one.

Something I'm still not clear on: Where do I keep local changes?

origin/foo and foo are effectively different branches, so I guess
I can just commit my local changes to foo.

Alternatively, I can create a local branch mystuff off foo, but then
updating looks like
  ...
  update -b origin/foo
  rebase foo
  rebase mystuff

which seems redundant.

I can understand keeping foo and mystuff separate if I want to push
changes on foo, but in a setup where you never push anything?

-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de