Skip to content

Instantly share code, notes, and snippets.

View HaythmKenway's full-sized avatar
🖥️
U dont have a life When coding is your life

Akileswar HaythmKenway

🖥️
U dont have a life When coding is your life
View GitHub Profile
@HaythmKenway
HaythmKenway / PrivateorDelete.md
Last active May 11, 2023 12:38
A bit of automation in removing and changing privacy of Github Repos

Hey today i was going through my github profile and noticed i have created hell a lot of useless github repos simply spamming in my profile

So today i have decided to eradicate all those useless stuffs using gh cli and bash

yeah i could have simply used curl command to do so but, i have never used ghcli in action so wanted to give it a try

for simplicity let us declare username as variable

username=<YOUR-GITHUB-USERNAME>

step 1: