Git.
rm -r one-of-the-directoriesRemoves local.
rm rm -r --cached <directory>// keep localcommit -m "Remove build directory"Push origin master.
Also add the path to the .gitignore file.
at once
Stage.
add -uUpdated:
2026 Aug 19
Git.
rm -r one-of-the-directoriesRemoves local.
rm rm -r --cached <directory>// keep localcommit -m "Remove build directory"Push origin master.
Also add the path to the .gitignore file.
Stage.
add -u