C
C#2y ago
Gladiator

git clean command in bash file

When I run the command below in bash file, I see weird outputs while I can run it perfectly if I go to the project path and execute
$(sudo git -C $PROJECT clean -fd)
$(sudo git -C $PROJECT clean -fd)
What is the problem? appreciated
1 Reply
Gladiator
Gladiator2y ago
should add echo before