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-linegit init
git add .
git commit -m "message for the commit"
git remote add origin https://url-of-github-repo
git push origin master or git push -f origin mastergit clone https://github.com/foo/repo_name.git new_directory_name
Also in Shell:
- how to connect to the database as root user in linux
- how to import microsoft.online sharepoint powershell
- javascript execute powershell script
- set git origin
- 2019 VS MS build broken after install
- powershell get date
- shell script variable
- pod install ruby: bad interpreter: No such file or directory
- git remove folder remotely
- bash head command
- check running process in linux
- install rbenv
- how to rename working directory in linux
- install kind
- cmd find file dir
- pip install kivy
- docker current version
- change git password on terminal
- git bring your changes to a new branch
- cosmicjs
- run screen on background linux terminal
- Model class django.contrib.sites.models.Site doesn't declare an explicit app_label and isn't in an application in INSTALLED_APPS
- ufw allow port
- ubuntu view disk space ec2