Skip to content

"fetch-depth: 0" doesn't fetch all branches #1017

@vitalyk-multinarity

Description

@vitalyk-multinarity

I'm using the following snipped for checkout:

- name: checkout
        uses: actions/checkout@v3
        with:
          fetch-depth: 0

but when I run 'git branch ' later I see just one branch.
Please suggest,
Thanks,
Vitaly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions