butiran

rem git submodule

· 1 min read · edit

notes

  • The steps are suggested from a dicussion 1.

steps

% ls static 
css	images	js	py
% cat .gitmodules 
[submodule "static/js"]
	path = static/js
	url = https://github.com/dudung/butiran-frontend.git
[submodule "static/py"]
	path = static/py
	url = https://github.com/dudung/butiran-backend
% git submodule deinit -f static/js
Cleared directory 'static/js'
Submodule 'static/js' (https://github.com/dudung/butiran-frontend.git) unregistered for path 'static/js'
% git rm -f static/js
rm 'static/js'
% ls static 
css	images	py
% rm -rf .git/modules/static/js
% cat .gitmodules              
[submodule "static/py"]
	path = static/py
	url = https://github.com/dudung/butiran-backend

refs


  1. GPT-5.2, “Remove Git Submodules”, ChatGPT, 3 Jan 2026, 21:37, url https://chatgpt.com/share/69592a84-f934-800a-af6c-9d98f3137959 [20260103]. ↩︎