Skip to content

Fix using windows path in git for windows #720

Closed
@paladox

Description

@paladox
  • I was not able to find an open
    or closed issue
    matching what I'm seeing

Setup

  • Which version of Git for Windows are you using? 32-bit or 64-bit? Include the
    output of git version as well.

git for windows 2.8.1

git version 2.8.1.windows.1

$ git --version
git version 2.8.1.windows.1

  • Which version of Windows are you running? 32-bit or 64-bit?

    64-bit

  • What options did you set as part of the installation? Or did you choose the
    defaults?

    I choose the default

  • Any other interesting things about your environment that might be related
    to the issue you're seeing?

    Nope

Details

  • Which terminal/shell are you running Git from? e.g Bash/CMD/PowerShell/other

    Bash

  • What commands did you run to trigger this issue? If you can provide a
    Minimal, Complete, and Verifiable example
    this will help us understand the issue.

Doing just for example c:\Users 
  • What did you expect to occur after running these commands?

I thought it would be able to search in that folder like if you were to do it from cmd.

  • What actually happened instead?

    I get this error

$ c:\users
bash: c:users: command not found

  • If the problem was occurring with a specific repository, can you provide the
    URL to that repository to help us with testing?

Happends to all repos.

Other details is

That slashes such as \ is not supported because bash is unix. But could there some how be supported please. so that doing something like you want to run from a bin. You can do /c/Users/ but in programes that we install and use in git some doin't work properly because they use the windows path not unix. In cmd it works because it uses the windows path.

I'm running windows 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions