Shell/Bash: remove git Example


Shell/Bash Example: This is the "remove git" Example. compiled from many sources on the internet by

remove git from project

rm -rf .git*

delete .git folder

rm -rf .git

remove git

rm -rf .git

remove git tracking

/* Remove Git tracking from an entire folder/directory */

cd project-name // Navigate to the project directory
rm -rf .git // Remove git tracking 

git remove folder remotely

git rm -r --cached 
git commit -m "Removed Folder"
git push origin master

remove git

rm -rf .git
-r => Remove directories and there contents recursively.
-f => Ignore nonexistent files and arguments, never prompt
for more info run 
rm --help

* Summary: This "remove git" Shell/Bash Example is compiled from the internet. If you have any questions, please leave a comment. Thank you!