Re: OpenZFS imports, status update

From: Mark Millard via freebsd-current <freebsd-current_at_freebsd.org>
Date: Wed, 09 Jun 2021 03:07:58 UTC
tech-lists <tech-lists_at_zyxst.net> wrote on
Date: Wed, 9 Jun 2021 02:13:07 +0100 :

> root_at_desktop:/usr/src# git remote prune freebsd
> fatal: 'freebsd' does not appear to be a git repository
> fatal: Could not read from remote repository.
> 
> Please make sure you have the correct access rights
> and the repository exists.

Just a note for potential future reference,
first showing showing an example of finding
what name(s) identify remotes:

# git remote show
freebsd

Then there is checking what remote branches are known
for one of those remotes (showing an example here):

# git remote show freebsd
* remote freebsd
  Fetch URL: https://git.FreeBSD.org/src.git
  Push  URL: https://git.FreeBSD.org/src.git
  HEAD branch: main
  Remote branches:
    main                             tracked
    refs/notes/commits               tracked
. . .
    vendor/zstd                      tracked
  Local branches configured for 'git pull':
    main        merges with remote main
    releng/13.0 merges with remote releng/13.0
    stable/13   merges with remote stable/13
  Local refs configured for 'git push':
    main        pushes to main        (local out of date)
    releng/13.0 pushes to releng/13.0 (local out of date)
    stable/13   pushes to stable/13   (local out of date)

There can be things in that output such as:

. . .
    refs/remotes/freebsd/vendor/openzfs stale (use 'git remote prune' to remove)
. . .
    vendor/openzfs/legacy               new (next fetch will store in remotes/freebsd)
    vendor/openzfs/master               new (next fetch will store in remotes/freebsd)
    vendor/openzfs/zfs-2.1-release      new (next fetch will store in remotes/freebsd)
. . .



===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)