how to delete git code example
Example 1: remove git
rm -rf .git
Example 2: delete git repository command line
rm -rf .git
Example 3: delete a github repository using bash
winpty curl -X DELETE -H 'Authorization: token [GENERATED_TOKEN]' https://api.github.com/repos/[USER]/[REPO_NAME]
https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
Example 4: 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
Example 5: delete git
git init
git add README.md
git commit -m "first commit"
git remote add origin https://github.com/Leonuch/flex.git
git push -u origin master