Answers for "remove repository github git bash"

1

delete a github repository using bash

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
Posted by: Guest on May-30-2020
0

remove git repository

On Windows:
Go to the directory where you want to delete your .git folder then type in cmd

rmdir /S .git.
Posted by: Guest on August-11-2021

Code answers related to "remove repository github git bash"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language