Skip to content

Fresh checkout leaves repo with changes #99

Closed as not planned
Closed as not planned
@andriy-bulynko

Description

@andriy-bulynko

Please see this repo for an example: go-git-test

I'm attempting to check out a tag and it leaves the repo "dirty". Am I doing something wrong?

On OSX it prints:

Not currently on any branch.
Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git checkout -- <file>..." to discard changes in working directory)

        deleted:    manifests/base/transformers/mongoDbUri/kustomization.yaml
        deleted:    manifests/base/transformers/mongoDbUri/selectivepatch.yaml

no changes added to commit (use "git add" and/or "git commit -a")

On Windows it prints:

Not currently on any branch.
Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
        modified:   ci/scripts/check-pods.sh
        modified:   ci/scripts/cleanup-namespaces.sh
        modified:   ci/scripts/cluster-login.sh
        modified:   ci/scripts/common-func.sh
        modified:   ci/scripts/delete-namespace.sh
        modified:   ci/scripts/export-pod-logs.sh
        modified:   ci/scripts/helm-init.sh
        modified:   ci/scripts/install-namespace.sh
        modified:   ci/scripts/qliksense-generate-certs.sh
        modified:   ci/scripts/qliksense-install.sh
        modified:   ci/scripts/qliksense-simple-oidc.sh
        modified:   ci/scripts/run-system-test.sh
        modified:   ci/scripts/watch-pods.sh
        modified:   preflight.sh

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
        deleted:    manifests/base/transformers/mongoDbUri/kustomization.yaml
        deleted:    manifests/base/transformers/mongoDbUri/selectivepatch.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    staleIssues/PRs that are marked for closure due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions