Paths to network resources are denoted in Windows with the \\servername\share\path\to\folder
syntax. How does one use such a folder within Git Bash, which uses Unix-style paths?
You need to change this Windows CMD to Git Bash. Go to File > Preferences > Settings and type shell in search settings. After that, navigate to Terminal > Integrated > Shell:Windows and update the path with Git Bash executable: C:\Program Files\Git\bin\bash.exe and save.
just right click on the desired folder and select git-bash Here option it will direct you to that folder and start working hope it will work. Show activity on this post. if you are on windows then you can do a right click from the folder where you want to use git bash and select "GIT BASH HERE".
You don't need to use Git Bash. It is just conventional, because Git was developed and designed on Linux and most Git users use Linux and using Git Bash on Windows makes it a uniform experience. You can certainly use Git on cmd; just make sure you add C:\Program Files\git\cmd to your PATH .
Actually just cd //servername/share/path/to/folder
where //servername/
is followed by at least one shared folder.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With