In Git for windows "git bash", how to "print working directory" in Windows path format that is usable by cmd and Windows explorer?

Viewed 31467

When using Git for Windows "git bash" on Windows, how to conveniently print the working directory in Windows path representation, e.g.

D:\foo\bar

similar to using 'pwd' to get the Unix representation

/d/foo/bar/

such that the path can be read by Windows explorer and cmd console?

1 Answers
Related