Skip to content

Problem with procedure in CLOSED_CONTRIBUTIONS.md #444

Open
@mjang

Description

@mjang
Contributor

Describe the bug

Re the steps in CLOSED_CONTRIBUTIONS.md

  • I've run the steps on a "fresh" clone of our https://github.com/nginx/documentation
  • I use the URL for the internal-docs repo, and substituted it for
  • I get to git checkout internal/main and I get the following error:
error: pathspec 'internal/main' did not match any file(s) known to git

Expected behavior

Your environment

  • Default MacOS shell (zsh)

Note: while this is effectively an "internal" issue, we are trying to be as open as possible with our work for this open source repository.

Activity

ADubhlaoich

ADubhlaoich commented on Apr 24, 2025

@ADubhlaoich
Contributor

Could you try git fetch --all, then attempt to check out again?

I thought fetch also grabbed remotes, but after testing it that doesn't seem to be the case

➜ git fetch
remote: Enumerating objects: 21, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (19/19), done.
remote: Total 21 (delta 3), reused 4 (delta 2), pack-reused 0 (from 0)
Unpacking objects: 100% (21/21), 55.66 KiB | 1017.00 KiB/s, done.
From github.com:nginx/documentation
   26173a28..b2dd73f8  main          -> origin/main
 + c3c256cf...94aaf175 mjang-patch-2 -> origin/mjang-patch-2  (forced update)
➜ git fetch --all
Fetching origin
Fetching internal
remote: Enumerating objects: 106, done.
remote: Counting objects: 100% (79/79), done.
remote: Compressing objects: 100% (32/32), done.
remote: Total 106 (delta 61), reused 52 (delta 47), pack-reused 27 (from 2)
Receiving objects: 100% (106/106), 23.37 KiB | 7.79 MiB/s, done.
Resolving deltas: 100% (70/70), completed with 14 local objects.
From github.com:nginx/internal-docs
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Participants

      @ADubhlaoich@mjang

      Issue actions

        Problem with procedure in CLOSED_CONTRIBUTIONS.md · Issue #444 · nginx/documentation