how to delete repo in github code example

Example 1: how to delete repository in github

#step by step Process
>> Login github 
>> Profile # right side of the page profile icon
>> Your repositories 
>> Select repositories 
>> Goto Settings # repository level settings
>> Delete this repository
>> Please type <repository name> to confirm.

Example 2: delete github repository git bash

winpty curl -X DELETE -H 'Authorization: token [GENERATED_TOKEN]' https://api.github.com/repos/[USER_NAME]/[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

Tags:

Css Example