Git: already exists in the index

Share:
Git: already exists in the index Example: ```sh git submodule add [email protected]:yubaoliu/ROS-Academy-for-Beginners.git 'ROS-Academy-for-Beginners' already exists in the index ``` Solution: ```sh git rm -r --cached ROS-Academy-for-Beginners rm 'ROS-Academy-for-Beginners' ``` How to deinit a submoudle: ```sh git submodule deinit -f ROS-Academy-for-Beginners ``` cover

No comments