Re: Working with forks
- In reply to: Warner Losh : "Re: Working with forks"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 09 Sep 2023 17:39:01 UTC
On 08/09/2023 05:37, Warner Losh wrote: > … > > Or in this case I just did: > > % git remote add jlduran ssh://git@github.com/jlduran/freebsd-src.git > <http://git@github.com/jlduran/freebsd-src.git> > % git fetch jlduran > % git checkout nanobsd-embedded-use-makefs OK, that makes sense in the context of <https://git-scm.com/docs/git-checkout#_description>, >> … exist a tracking branch in exactly one remote … with a matching name … >> Then <https://git-scm.com/docs/git-branch#Documentation/git-branch.txt--v>, I can see the name of the fork: git -C /usr/src branch -vv Nowadays, when creating a branch in GitHub I get the hint to have the name of my fork as the prefix- to the name. I don't know whether this is a native feature, or thanks to refined-github. Thanks for the condensed examples. Very helpful. (Sorry for abusing freebsd-git with questions that are not FreeBSD-specific. Experiences in Git-specific areas haven't been good, for me.)