Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Bug when removing submodule

Ricardo Desmedt
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 20, 2022

I'm not sure where to report this, but when deleting a submodule, an error occurs in the second command if there's a space in the folder name. It seems the command is simply missing quotes, as adding these and performing the command through the terminal works fine.

The commands in question:

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks submodule deinit "Some Path/With/Spaces"

git -c diff.mnemonicprefix=false -c core.quotepath=false --no-optional-locks rm --cached Some Path/With/Spaces

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events