Why git bash using cygdrive as root directory?

368 Views Asked by At

Previously git project location was:

/e/dev/Project

New Git Project location:

/cygdrive/e/dev/Project

Is there any reason for changing path suddenly?

Does any one know what is cygdrive? I could find any documentation of cygdrive or reason for the above incident

Note:

Using GitBash Portable on windows10. I didn't install cygwin in my system purposefully.

Reason for Query: I am just vigilant about my recent system changes regarding my system safety

1

There are 1 best solutions below

0
On

Depending on your Git version, cypath is supported, and would convert /cygdrive/e/dev/Project into /e/dev/Project in a regular Git For Windows bash.

So check what has changed between the time when the path was reported as /e, and now where it is reported as /cygdrive.