Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I get error message for basic git commands like 'pwd' & 'cd' [closed]

Tags:

git

git-bash

My git bash was working fine. But, one day it started showing error messages for everything like 'pwd' command and 'cd' command. This is the error message I'm getting,

git: 'pwd' is not a git command. See 'git --help'.

Any idea why this is happening?

like image 775
008 Avatar asked Jan 20 '26 14:01

008


1 Answers

PWD is not a git command you should not use it this way git pwd

pwd is a shell command that returns working directory name.

like image 183
sajad abbasi Avatar answered Jan 22 '26 02:01

sajad abbasi



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!