Working with forks: git-checkout(1) options -b and -t
- Reply: Mark Millard : "Re: Working with forks: git-checkout(1) options -b and -t"
- In reply to: Warner Losh : "Re: Working with forks"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Sep 2023 15:58:47 UTC
On 08/09/2023 03:51, Warner Losh wrote: > … Or 'git checkout -t jlduran/nanobsd-embedded-use-makefs' … A doc tree example, now. Colour me confused. % git -C /usr/doc remote add outpaddling https://github.com/outpaddling/freebsd-doc.git % git -C /usr/doc checkout -b outpaddling-main --track outpaddling/main fatal: 'outpaddling/main' is not a commit and a branch 'outpaddling-main' cannot be created from it % git -C /usr/doc checkout -b outpaddling-main --track outpaddling fatal: 'outpaddling' is not a commit and a branch 'outpaddling-main' cannot be created from it % git -C /usr/doc checkout -b outpaddling-main -t outpaddling/main fatal: 'outpaddling/main' is not a commit and a branch 'outpaddling-main' cannot be created from it % git -C /usr/doc checkout -t outpaddling/main fatal: 'outpaddling/main' is not a commit and a branch 'main' cannot be created from it % <https://github.com/outpaddling/freebsd-doc/branches> there's only one branch, main.