cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

git bash commands for Windows not working.

damovand
Product and Topic Expert
Product and Topic Expert
0 Likes
5,020

Hello fellow developers,

I have downloaded and installed git for Windows 10 64-bit from Git - Downloads (git-scm.com) but some commands like cp or grep do not work. Does anyone have an idea why and how I can work around this?

Is there a Windows equivalent of cp -r .gitignore $(ls -1A | grep -v .git) ../cpapp that will work in git BASH for Windows?

Thank you.

Best Regards,

Leila

View Entire Topic
damovand
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Edgar,

Thank you very much for the great information. You are right, I checked my directory under program files, and strangely all the paths for the tools I installe (e.g. node.js and even Git\cmd) were added except for the path to usr/bin. I added it and now I can find the commands.

Thank you also for the additional information about bash. I am familiar with bash as a command line language for Unix/Linux OS. However, these days I only have access to Windows which is why I have to add them when I need them.

Thank you again for your help and the excellent information.