Redska
0
Q:

remove git

rm -rf .git
0
/* Remove Git tracking from an entire folder/directory */

cd project-name // Navigate to the project directory
rm -rf .git // Remove git tracking 
5
git rm -r --cached <folder>
git commit -m "Removed Folder"
git push origin master
12
winpty curl -X DELETE -H 'Authorization: token [GENERATED_TOKEN]' https://api.github.com/repos/[USER]/[REPO_NAME]

# follow steps here to generate token:
https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line
1
rm -rf .git
-r => Remove directories and there contents recursively.
-f => Ignore nonexistent files and arguments, never prompt
for more info run 
rm --help
0
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
0

New to Communities?

Join the community