Home > database >  git bash pwd command gives incorrect case for drive
git bash pwd command gives incorrect case for drive

Time:06-03

On git bash when I run the pwd command this gives me an output of the current drive (C in this case) in lower case. However, if I check the current directory on cmd it gives it to me in upper case.

I am not bothered by the slashes in the opposite direction, I just want to know why git bash is converting my c drive to lower case.

Git bash

enter image description here

cmd

enter image description here

CodePudding user response:

why git bash is converting my c drive to lower case

the git bash is not converting anything here, it's about how your drives are mounted. just check the output of mount and you should see something like

C: on /c type ntfs

which is the origin of the lowercase c

  • Related