The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

TAGS
AUG Leaders

Atlassian Community Events