Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Repo left in dirty state when checkout fails #1660

@jcansdale

Description

@jcansdale
  • GitHub Extension for Visual Studio version: 2.5.1
  • Visual Studio version: 2015
  1. Clicked on checkout link

  2. Checkout failed
    image

  3. Repo left in dirty state
    image

  4. Can't checkout
    image

  5. Tried git clean -fd but it failed

  6. Exited VS and the following finally cleaned up my repo

git clean -fd
git reset --hard

Pretty painful. I wonder if we could detect this and give the user some hints?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Medium Priority

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions