{"id":55402,"date":"2025-06-20T12:05:00","date_gmt":"2025-06-20T09:05:00","guid":{"rendered":"https:\/\/everhour.com\/blog\/?p=55402"},"modified":"2026-03-21T12:25:16","modified_gmt":"2026-03-21T09:25:16","slug":"how-to-delete-a-repository-in-github","status":"publish","type":"post","link":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/","title":{"rendered":"How to Delete a Repository in GitHub [Most Up-to-Date Guide]"},"content":{"rendered":"<p>Wondering how to delete a repository in GitHub without making mistakes? Whether you&#8217;re cleaning up unused projects or reorganizing your work, this guide shows you step-by-step instructions on how to delete a repository in GitHub. We&#8217;ll cover everything from locating the right settings to confirming the deletion&mdash;plus mention helpful tools like our <a href=\"https:\/\/everhour.com\/integrations\/github\" target=\"_blank\" rel=\"noreferrer noopener\">GitHub time tracking integration<\/a> to better manage your active repos before you remove the old ones.<\/p>\n<style type=\"text\/css\">\n\t#everhour-advanced-banner-block_6426fdc64c4f9 {\n\ttext-align:left;\n\tbackground-color:#f6f5f4;\n\tbackground-position:right bottom;\n\tbackground-repeat:no-repeat;\n\tbackground-size:contain;\n\tbackground-image: url(https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/01\/conversion-block-8-GitHub@2x.png);\n}\n#everhour-advanced-banner-block_6426fdc64c4f9 .everhour-advanced-banner__title {\n\tcolor:#333333;\n\ttext-align:left;\n}\n#everhour-advanced-banner-block_6426fdc64c4f9 .everhour-advanced-banner__subtitle {\n\tcolor:#333333;\n\ttext-align:left;\n}\n#everhour-advanced-banner-block_6426fdc64c4f9 .everhour-advanced-banner__cta {\n\ttext-align:left;\n}\n#everhour-advanced-banner-block_6426fdc64c4f9 .everhour-advanced-banner__cta .button {\n\tborder-color:#000000;\n\tbackground-color:#000000;\n\tcolor:#FFFFFF;\n\tbox-shadow:0 3px 10px 0 rgba(0, 0, 0, 0.51), inset 0 3px 20px 0 rgba(0, 0, 0, 0.3);;\n}\n#everhour-advanced-banner-block_6426fdc64c4f9 .everhour-advanced-banner__cta .button:hover, #everhour-advanced-banner-block_6426fdc64c4f9 .everhour-advanced-banner__cta .button:active, #everhour-advanced-banner-block_6426fdc64c4f9 .everhour-advanced-banner__cta .button:active:hover {\n\tbackground-color:rgba(255,255,255,0);\n\tcolor:#000000;\n\tbox-shadow:button_hover_shadow;\n}\n#everhour-advanced-banner-block_6426fdc64c4f9 .everhour-advanced-banner__cta .button:active {\n\ttransform:translateY(2px);\n}\n@media (max-width: 480px) {#everhour-advanced-banner-block_6426fdc64c4f9 {background-image: initial;}}<\/style>\n\n<div class=\"everhour-advanced-banner-container\">\n\t<div id=\"everhour-advanced-banner-block_6426fdc64c4f9\" class=\"everhour-advanced-banner banner-style-vertical banner-position-right button-style-lash\">\n\t\t<div class=\"everhour-advanced-banner__content\">\n\t\t\t\t\t\t\t<div class=\"everhour-advanced-banner__title\">Integrate Everhour <br>  with GitHub. <br> Achieve more with <br>  fewer clicks.<\/div>\n\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"everhour-advanced-banner__cta\">\n\t\t\t\t\t<a href=\"https:\/\/everhour.com\/integrations\/github?utm_source=blog-article&#038;utm_medium=banner&#038;utm_campaign=integration-vertical\" class=\"button button--lg button--solid action-button\" type=\"button\" target=\"_blank\">\n\t\t\t\t\t\tIt&#039;s Free to try!\t\t\t\t\t<\/a>\n\n\t\t\t\t\t\t\t\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"21\" height=\"42\" viewBox=\"0 0 21 42\"><g fill=\"none\" fill-rule=\"evenodd\"><g fill=\"#000000\">\n\t\t\t\t\t\t<path d=\"M210.6 174.792c.347-.21.627.01.936.16 2.852 1.383 5.205 3.413 7.392 5.661.503.517.904 1.096 1.072 1.824.087.377.478.73.018 1.109-.505.415-.922.106-1.316-.187-1.238-.919-2.465-1.852-3.697-2.78-.876-.65-1.73-1.328-2.62-1.957-1.034-.73-2.005-1.461-1.93-2.933.015-.316-.248-.659.145-.897zm1.924-13.103c-.114-.65.046-.87.645-.79 3.098.413 6.23.233 9.334.553 1.429.147 2.838.361 4.07 1.172.369.257.648.59.912.936l.314.418.161.207c.246.306.389.543.17.886-.213.332-.474.575-.923.496-.777-.137-1.555-.281-2.338-.375-3.02-.362-6.049-.672-9.066-1.069-1.503-.197-2.948-.543-3.28-2.434zm11.358-19.193c1.025-.282 1.41.91 2.285 1.01.124.015.026.336-.063.507-.151.292-.468.495-.48.92.335.106.513-.038.696-.166.201-.14.382-.48.657-.235.265.235.122.585-.02.838-.163.287-.389.552-.629.783-.895.866-2.051 1.083-3.221 1.184-3.752.325-7.514.457-11.277.569-1.811.054-1.924-.038-2.602-1.613-.66-1.53-.66-1.531 1.053-1.838.296-.053.595-.09.892-.147 1.402-.268 2.82-.432 4.24-.573l1.706-.165c2.274-.218 4.544-.464 6.763-1.074z\" transform=\"translate(-208 -142)\"\/>\n\t\t\t\t\t\t<\/g><\/g><\/svg>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/div>\n<h2 class=\"wp-block-heading\"><strong>What Happens When You Delete a GitHub Repo?<\/strong><\/h2><p>Before you learn <strong>how to delete a repository in GitHub<\/strong>, here&rsquo;s what happens:<\/p><ul class=\"wp-block-list\"><li>&#128465;&#65039; The entire repository is <strong>permanently removed<\/strong> (including issues, pull requests, wikis, etc.).<\/li><li>&#128683; The action is <strong>irreversible<\/strong> unless you&rsquo;ve created a local backup.<\/li><li>&#128272; You must be the <strong>owner<\/strong> or have <strong>admin permissions<\/strong> to delete the repository.<\/li><li>&#128161; If the repo is public, its forks <strong>will remain<\/strong>.<\/li><\/ul><hr class=\"wp-block-separator\">\n<style type=\"text\/css\">\n\t#everhour-advanced-banner-block_680118b260b11 {\n\ttext-align:left;\n\tbackground-color:#240936;\n\tbackground-position:right bottom;\n\tbackground-repeat:no-repeat;\n\tbackground-size:contain;\n\tbackground-image: url(https:\/\/everhour.com\/blog\/wp-content\/uploads\/2022\/07\/conversion-block-github@2x.png);\n}\n#everhour-advanced-banner-block_680118b260b11 .everhour-advanced-banner__title {\n\tcolor:#ffffff;\n\ttext-align:left;\n}\n#everhour-advanced-banner-block_680118b260b11 .everhour-advanced-banner__subtitle {\n\tcolor:#ffffff;\n\ttext-align:left;\n}\n#everhour-advanced-banner-block_680118b260b11 .everhour-advanced-banner__cta {\n\ttext-align:left;\n}\n#everhour-advanced-banner-block_680118b260b11 .everhour-advanced-banner__cta .button {\n\tborder-color:#724596;\n\tbackground-color:#724596;\n\tcolor:#FFFFFF;\n\tbox-shadow:0 3px 10px 0 rgba(114, 69, 150, 0.51), inset 0 3px 20px 0 rgba(114, 69, 150, 0.3);;\n}\n#everhour-advanced-banner-block_680118b260b11 .everhour-advanced-banner__cta .button:hover, #everhour-advanced-banner-block_680118b260b11 .everhour-advanced-banner__cta .button:active, #everhour-advanced-banner-block_680118b260b11 .everhour-advanced-banner__cta .button:active:hover {\n\tbackground-color:rgba(255,255,255,0);\n\tcolor:#724596;\n\tbox-shadow:button_hover_shadow;\n}\n#everhour-advanced-banner-block_680118b260b11 .everhour-advanced-banner__cta .button:active {\n\ttransform:translateY(2px);\n}\n@media (max-width: 480px) {#everhour-advanced-banner-block_680118b260b11 {background-image: initial;}}<\/style>\n\n<div class=\"everhour-advanced-banner-container\">\n\t<div id=\"everhour-advanced-banner-block_680118b260b11\" class=\"everhour-advanced-banner banner-style-horizontal button-style-lash\">\n\t\t<div class=\"everhour-advanced-banner__content\">\n\t\t\t\t\t\t\t<div class=\"everhour-advanced-banner__title\">Track time, stay on budget, analyze reports and automate payroll.<\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"everhour-advanced-banner__subtitle\">&bull; Works natively inside GitHub<br>&bull; Know where your team&rsquo;s time is going <br>&bull; Keep projects on budget<br>&bull; Increase transparency<br>&bull; Make your workflow more efficient<\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"everhour-advanced-banner__cta\">\n\t\t\t\t\t<a href=\"https:\/\/everhour.com\/integrations\/github?utm_source=blog-article&#038;utm_medium=banner&#038;utm_campaign=integration-horizontal\" class=\"button button--lg button--solid action-button\" type=\"button\" target=\"_blank\">\n\t\t\t\t\t\tIt&#039;s FREE to try!\t\t\t\t\t<\/a>\n\n\t\t\t\t\t\t\t\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"21\" height=\"42\" viewBox=\"0 0 21 42\"><g fill=\"none\" fill-rule=\"evenodd\"><g fill=\"#724596\">\n\t\t\t\t\t\t<path d=\"M210.6 174.792c.347-.21.627.01.936.16 2.852 1.383 5.205 3.413 7.392 5.661.503.517.904 1.096 1.072 1.824.087.377.478.73.018 1.109-.505.415-.922.106-1.316-.187-1.238-.919-2.465-1.852-3.697-2.78-.876-.65-1.73-1.328-2.62-1.957-1.034-.73-2.005-1.461-1.93-2.933.015-.316-.248-.659.145-.897zm1.924-13.103c-.114-.65.046-.87.645-.79 3.098.413 6.23.233 9.334.553 1.429.147 2.838.361 4.07 1.172.369.257.648.59.912.936l.314.418.161.207c.246.306.389.543.17.886-.213.332-.474.575-.923.496-.777-.137-1.555-.281-2.338-.375-3.02-.362-6.049-.672-9.066-1.069-1.503-.197-2.948-.543-3.28-2.434zm11.358-19.193c1.025-.282 1.41.91 2.285 1.01.124.015.026.336-.063.507-.151.292-.468.495-.48.92.335.106.513-.038.696-.166.201-.14.382-.48.657-.235.265.235.122.585-.02.838-.163.287-.389.552-.629.783-.895.866-2.051 1.083-3.221 1.184-3.752.325-7.514.457-11.277.569-1.811.054-1.924-.038-2.602-1.613-.66-1.53-.66-1.531 1.053-1.838.296-.053.595-.09.892-.147 1.402-.268 2.82-.432 4.24-.573l1.706-.165c2.274-.218 4.544-.464 6.763-1.074z\" transform=\"translate(-208 -142)\"\/>\n\t\t\t\t\t\t<\/g><\/g><\/svg>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/div>\n<hr class=\"wp-block-separator\"><h2 class=\"wp-block-heading\"><strong>How to Delete a Repository in GitHub (Web Interface)<\/strong><\/h2><p>Follow these simple steps:<\/p><ul class=\"wp-block-list\"><li>Log in to your GitHub account.<\/li><li>Navigate to the repository you want to delete.<\/li><li>Click on the <strong>Settings<\/strong> tab (top menu).<\/li><\/ul><figure class=\"wp-block-image size-large no-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"101\" src=\"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/github-settings-1024x101.jpg\" alt=\"how to delete a repository in github (2025 guide)\" class=\"wp-image-55409\" srcset=\"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/github-settings-1024x101.jpg 1024w, https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/github-settings-300x30.jpg 300w, https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/github-settings-768x76.jpg 768w, https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/github-settings.jpg 1440w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><ul class=\"wp-block-list\"><li>Scroll down to the <strong>&ldquo;Danger Zone&rdquo;<\/strong>.<\/li><li>Click <strong>&ldquo;Delete this repository&rdquo;<\/strong>.<\/li><li>Type the repository name as confirmation.<\/li><li>Click the red <strong>&ldquo;I understand the consequences&rdquo;<\/strong> and confirm.<\/li><\/ul><hr class=\"wp-block-separator\"><h2 class=\"wp-block-heading\"><strong>How to Delete a GitHub Repo Using Git Bash \/ CLI<\/strong><\/h2><p>You <strong>can&rsquo;t directly delete a repo<\/strong> from the command line. However, you can use GitHub&rsquo;s API or delete the remote origin from your local system.<\/p><p>To remove the <strong>remote origin<\/strong> from your local repo:<\/p><pre class=\"wp-block-preformatted\">git remote remove origin<\/pre><p>To delete a <strong>repo via GitHub CLI<\/strong>:<\/p><pre class=\"wp-block-preformatted\">gh repo delete username\/repo-name --confirm<\/pre><blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>Install GitHub CLI from cli.github.com if you haven&rsquo;t already.<\/p><\/blockquote><hr class=\"wp-block-separator\"><h2 class=\"wp-block-heading\"><strong>How to Delete a Forked Repository in GitHub<\/strong><\/h2><p>Deleting a fork is the same as deleting any other repo.<\/p><ol class=\"wp-block-list\"><li>Go to your <strong>forked repo<\/strong>.<\/li><li>Click <strong>Settings &gt; Delete<\/strong>.<\/li><li>Confirm repo name &rarr; <strong>Delete<\/strong>.<\/li><\/ol><p>This does <strong>not affect the original repo<\/strong> you forked from.<\/p><hr class=\"wp-block-separator\"><h2 class=\"wp-block-heading\"><strong>How to Delete a File or Folder in a GitHub Repository<\/strong><\/h2><h3 class=\"wp-block-heading\"><strong>Delete file from web UI:<\/strong><\/h3><ol class=\"wp-block-list\"><li>Open the repo and go to the file.<\/li><li>Click the <strong>trash icon<\/strong> (&#128465;&#65039;) at the top right.<\/li><li>Scroll down and <strong>commit changes<\/strong> with a message.<\/li><\/ol><h3 class=\"wp-block-heading\"><strong>Delete folder from web UI:<\/strong><\/h3><p>GitHub does <strong>not support folder deletion directly<\/strong> if it&rsquo;s not empty.<\/p><p>Steps:<\/p><ol class=\"wp-block-list\"><li>Navigate to each file inside the folder and delete them.<\/li><li>Once the folder is empty, it disappears from the repo.<\/li><\/ol><p>Or, use Git:<\/p><pre class=\"wp-block-preformatted\">git rm -r folder-name\ngit commit -m \"Deleted folder\"\ngit push origin main<\/pre><hr class=\"wp-block-separator\"><h2 class=\"wp-block-heading\"><strong>How to Delete All Files in a GitHub Repo<\/strong><\/h2><p>To clear the repo but <strong>keep it alive<\/strong>:<\/p><pre class=\"wp-block-preformatted\">git rm -r *\ngit commit -m \"Cleared repo content\"\ngit push origin main<\/pre><p>Or delete via GitHub UI using the trash icon for each file.<\/p><hr class=\"wp-block-separator\"><h2 class=\"wp-block-heading\"><strong>How to Delete a Branch in a GitHub Repository<\/strong><\/h2><p><strong>Via GitHub UI:<\/strong><\/p><ol class=\"wp-block-list\"><li>Go to <strong>Code &gt; Branches<\/strong>.<\/li><li>Find your branch and click the <strong>trash icon<\/strong>.<\/li><\/ol><p><strong>Via Terminal:<\/strong><\/p><pre class=\"wp-block-preformatted\"># Delete local branch\ngit branch -d branch-name\n\n# Delete remote branch\ngit push origin --delete branch-name<\/pre><hr class=\"wp-block-separator\"><h2 class=\"wp-block-heading\"><strong>How to Delete a Repo from GitHub Desktop<\/strong><\/h2><p>GitHub Desktop does <strong>not support remote repo deletion<\/strong> directly.<\/p><p>To remove a <strong>local clone<\/strong>:<\/p><ol class=\"wp-block-list\"><li>Open GitHub Desktop<\/li><li>Right-click your repo in the list<\/li><li>Click <strong>&ldquo;Remove&rdquo;<\/strong> &rarr; Choose to delete or keep files locally<\/li><\/ol><p>For remote deletion, go to GitHub.com and follow the web method.<\/p><hr class=\"wp-block-separator\"><h2 class=\"wp-block-heading\"><strong>&#10067; FAQs: GitHub Repo Deletion<\/strong><\/h2><h3 class=\"wp-block-heading\"><strong>Can I recover a deleted GitHub repository?<\/strong><\/h3><p>&#10145;&#65039; No. Once deleted, it&rsquo;s gone unless you have a backup.<\/p><h3 class=\"wp-block-heading\"><strong>Does deleting a fork delete the original repo?<\/strong><\/h3><p>&#10145;&#65039; No. Forks are independent once created.<\/p><h3 class=\"wp-block-heading\"><strong>Can I delete just a file from the GitHub repo?<\/strong><\/h3><p>&#10145;&#65039; Yes. Use the UI or GitHub Desktop to remove files individually.<\/p><h3 class=\"wp-block-heading\"><strong>What happens to stars and forks after deletion?<\/strong><\/h3><p>&#10145;&#65039; Forks remain. Stars are lost.<\/p><h3 class=\"wp-block-heading\"><strong>Can I undo git rm after deletion?<\/strong><\/h3><p>&#10145;&#65039; Only before you commit. Use git restore or git reset if uncommitted.<\/p><hr class=\"wp-block-separator\"><h2 class=\"wp-block-heading\"><strong>Final Thoughts: Deleting Repos Safely<\/strong><\/h2><p>Now that you know <strong>how to delete a repository in GitHub<\/strong>, always remember to:<\/p><ol class=\"wp-block-list\"><li>&#9888;&#65039; Backup critical data first<\/li><li>&#9989; Verify you&rsquo;re in the correct repository<\/li><li>&#129534; Use commit messages if deleting files, for clarity<\/li><li>&#128736;&#65039; Use tools like <strong>Everhour<\/strong> to manage time and track file history<\/li><\/ol><figure class=\"wp-block-embed-youtube aligncenter wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"GitHub Time Tracking Tutorial - Start Tracking Time for Your GitHub Issues | Everhour\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/lIPGp1xQRGI?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure><p>&#127775; Learn&nbsp;<strong>what users say about using Everhour:<\/strong><\/p><blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>&ldquo;<em>I liked how I could quickly log hours directly from my project management tool, ensuring accurate time reports for all my tasks<\/em>.&rdquo; [<a rel=\"noreferrer noopener nofollow\" href=\"https:\/\/www.capterra.com\/p\/133409\/Everhour\/#Capterra___6375890\" target=\"_blank\" class=\"external external_icon\">Manon, Capterra<\/a>]<\/p><\/blockquote><blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>&ldquo;<em>Tracking time has become very easy and we got a detailed overview on how much time we need for certain project or customer. Also the support is great, I needed help and the team from Everhour has helped to solve the problem within an hour.<\/em>&rdquo; [<a rel=\"noreferrer noopener nofollow\" href=\"https:\/\/www.g2.com\/products\/everhour\/reviews\/everhour-review-8565160\" target=\"_blank\" class=\"external external_icon\">Izabela, G2<\/a>]<\/p><\/blockquote><blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>&ldquo;<em>Very easy to set up and use. I can generate different kinds of reports<\/em>.&rdquo; [<a rel=\"noreferrer noopener nofollow\" href=\"https:\/\/www.capterra.com\/p\/133409\/Everhour\/#Capterra___6004599\" target=\"_blank\" class=\"external external_icon\">Melodie, Capterra<\/a>]<\/p><\/blockquote><hr class=\"wp-block-separator\">\n<style type=\"text\/css\">\n\t#everhour-advanced-banner-block_67641fc92c247 {\n\ttext-align:left;\n\tbackground-color:#e3f1fa;\n\tbackground-position:right bottom;\n\tbackground-repeat:no-repeat;\n\tbackground-size:contain;\n\tbackground-image: url(https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/01\/conversion-block-7@2x.png);\n}\n#everhour-advanced-banner-block_67641fc92c247 .everhour-advanced-banner__title {\n\tcolor:#333333;\n\ttext-align:left;\n}\n#everhour-advanced-banner-block_67641fc92c247 .everhour-advanced-banner__subtitle {\n\tcolor:#333333;\n\ttext-align:left;\n}\n#everhour-advanced-banner-block_67641fc92c247 .everhour-advanced-banner__cta {\n\ttext-align:left;\n}\n#everhour-advanced-banner-block_67641fc92c247 .everhour-advanced-banner__cta .button {\n\tborder-color:#000000;\n\tbackground-color:#000000;\n\tcolor:#FFFFFF;\n\tbox-shadow:0 3px 10px 0 rgba(0, 0, 0, 0.51), inset 0 3px 20px 0 rgba(0, 0, 0, 0.3);;\n}\n#everhour-advanced-banner-block_67641fc92c247 .everhour-advanced-banner__cta .button:hover, #everhour-advanced-banner-block_67641fc92c247 .everhour-advanced-banner__cta .button:active, #everhour-advanced-banner-block_67641fc92c247 .everhour-advanced-banner__cta .button:active:hover {\n\tbackground-color:rgba(255,255,255,0);\n\tcolor:#000000;\n\tbox-shadow:button_hover_shadow;\n}\n#everhour-advanced-banner-block_67641fc92c247 .everhour-advanced-banner__cta .button:active {\n\ttransform:translateY(2px);\n}\n@media (max-width: 480px) {#everhour-advanced-banner-block_67641fc92c247 {background-image: initial;}}<\/style>\n\n<div class=\"everhour-advanced-banner-container\">\n\t<div id=\"everhour-advanced-banner-block_67641fc92c247\" class=\"everhour-advanced-banner banner-style-horizontal button-style-lash\">\n\t\t<div class=\"everhour-advanced-banner__content\">\n\t\t\t\t\t\t\t<div class=\"everhour-advanced-banner__title\">Track time, stay on budget, analyze reports and  <br> automate payroll<\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"everhour-advanced-banner__subtitle\">We also embed our controls into the most popular<br> project management apps for less<br> tab switching.<\/div>\n\t\t\t\t\t\t\t\t\t\t<div class=\"everhour-advanced-banner__cta\">\n\t\t\t\t\t<a href=\"https:\/\/everhour.com?utm_source=blog-article&#038;utm_medium=banner&#038;utm_campaign=general-horizontal\" class=\"button button--lg button--solid action-button\" type=\"button\" target=\"_blank\">\n\t\t\t\t\t\tIt&#039;s FREE to try!\t\t\t\t\t<\/a>\n\n\t\t\t\t\t\t\t\t\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"21\" height=\"42\" viewBox=\"0 0 21 42\"><g fill=\"none\" fill-rule=\"evenodd\"><g fill=\"#000000\">\n\t\t\t\t\t\t<path d=\"M210.6 174.792c.347-.21.627.01.936.16 2.852 1.383 5.205 3.413 7.392 5.661.503.517.904 1.096 1.072 1.824.087.377.478.73.018 1.109-.505.415-.922.106-1.316-.187-1.238-.919-2.465-1.852-3.697-2.78-.876-.65-1.73-1.328-2.62-1.957-1.034-.73-2.005-1.461-1.93-2.933.015-.316-.248-.659.145-.897zm1.924-13.103c-.114-.65.046-.87.645-.79 3.098.413 6.23.233 9.334.553 1.429.147 2.838.361 4.07 1.172.369.257.648.59.912.936l.314.418.161.207c.246.306.389.543.17.886-.213.332-.474.575-.923.496-.777-.137-1.555-.281-2.338-.375-3.02-.362-6.049-.672-9.066-1.069-1.503-.197-2.948-.543-3.28-2.434zm11.358-19.193c1.025-.282 1.41.91 2.285 1.01.124.015.026.336-.063.507-.151.292-.468.495-.48.92.335.106.513-.038.696-.166.201-.14.382-.48.657-.235.265.235.122.585-.02.838-.163.287-.389.552-.629.783-.895.866-2.051 1.083-3.221 1.184-3.752.325-7.514.457-11.277.569-1.811.054-1.924-.038-2.602-1.613-.66-1.53-.66-1.531 1.053-1.838.296-.053.595-.09.892-.147 1.402-.268 2.82-.432 4.24-.573l1.706-.165c2.274-.218 4.544-.464 6.763-1.074z\" transform=\"translate(-208 -142)\"\/>\n\t\t\t\t\t\t<\/g><\/g><\/svg>\n\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t<\/div>\n<\/div>\n<hr class=\"wp-block-separator\"><p>Want more GitHub management guides?<\/p><ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" href=\"https:\/\/everhour.com\/blog\/how-to-push-to-github\/\" target=\"_blank\">How to Push to GitHub<\/a> from VSCode<\/li><li><a rel=\"noreferrer noopener\" href=\"https:\/\/everhour.com\/blog\/github-personal-access-token\/\" target=\"_blank\">GitHub Personal Access Tokens<\/a>: How to Create &amp; Use<\/li><li><a rel=\"noreferrer noopener\" href=\"https:\/\/everhour.com\/blog\/gitlab-vs-github\/\" target=\"_blank\">GitHub vs GitLab<\/a>: Which One Wins?<\/li><li><a rel=\"noreferrer noopener\" href=\"https:\/\/everhour.com\/blog\/github-readme-template\/\" target=\"_blank\">GitHub README template<\/a><\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Wondering how to delete a repository in GitHub without making mistakes? Whether you&#8217;re cleaning up unused projects or reorganizing your work, this guide shows you step-by-step instructions on how to delete a repository in GitHub. We&#8217;ll cover everything from locating the right settings to confirming the deletion&mdash;plus mention helpful tools like our GitHub time tracking [&hellip;]<\/p>\n","protected":false},"author":55,"featured_media":55406,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[136,157],"tags":[],"class_list":["post-55402","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-reviews","category-github"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Delete a Repository in GitHub: Step-by-Step Guide [2026]<\/title>\n<meta name=\"description\" content=\"Learn how to delete a repository in GitHub (including forks, files &amp; folders) using both the GitHub UI and command line.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Delete a Repository in GitHub: Step-by-Step Guide [2026]\" \/>\n<meta property=\"og:description\" content=\"Learn how to delete a repository in GitHub (including forks, files &amp; folders) using both the GitHub UI and command line.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/\" \/>\n<meta property=\"og:site_name\" content=\"Time Tracking &amp; Project Management Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/everhour\/\" \/>\n<meta property=\"article:published_time\" content=\"2025-06-20T09:05:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-03-21T09:25:16+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/chris-ried-ieic5Tq8YMk-unsplash-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"684\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Maria\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@maria.k\" \/>\n<meta name=\"twitter:site\" content=\"@everhour\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Maria\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/\"},\"author\":{\"name\":\"Maria\",\"@id\":\"https:\/\/everhour.com\/blog\/#\/schema\/person\/78042939524be6203913e44065f9d2aa\"},\"headline\":\"How to Delete a Repository in GitHub [Most Up-to-Date Guide]\",\"datePublished\":\"2025-06-20T09:05:00+00:00\",\"dateModified\":\"2026-03-21T09:25:16+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/\"},\"wordCount\":799,\"publisher\":{\"@id\":\"https:\/\/everhour.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/chris-ried-ieic5Tq8YMk-unsplash-1.jpg\",\"articleSection\":[\"Apps &amp; Tools \u2699\ufe0f\",\"Github\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/\",\"url\":\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/\",\"name\":\"How to Delete a Repository in GitHub: Step-by-Step Guide [2026]\",\"isPartOf\":{\"@id\":\"https:\/\/everhour.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/chris-ried-ieic5Tq8YMk-unsplash-1.jpg\",\"datePublished\":\"2025-06-20T09:05:00+00:00\",\"dateModified\":\"2026-03-21T09:25:16+00:00\",\"description\":\"Learn how to delete a repository in GitHub (including forks, files & folders) using both the GitHub UI and command line.\",\"breadcrumb\":{\"@id\":\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#primaryimage\",\"url\":\"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/chris-ried-ieic5Tq8YMk-unsplash-1.jpg\",\"contentUrl\":\"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/chris-ried-ieic5Tq8YMk-unsplash-1.jpg\",\"width\":1024,\"height\":684,\"caption\":\"how to delete a repository in github (2025 guide)\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Github\",\"item\":\"https:\/\/everhour.com\/blog\/category\/github\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Delete a Repository in GitHub [Most Up-to-Date Guide]\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/everhour.com\/blog\/#website\",\"url\":\"https:\/\/everhour.com\/blog\/\",\"name\":\"Time Tracking &amp; Project Management Blog\",\"description\":\"Everhour\",\"publisher\":{\"@id\":\"https:\/\/everhour.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/everhour.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/everhour.com\/blog\/#organization\",\"name\":\"Everhour\",\"url\":\"https:\/\/everhour.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/everhour.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2019\/05\/everhour_big_256.png\",\"contentUrl\":\"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2019\/05\/everhour_big_256.png\",\"width\":256,\"height\":256,\"caption\":\"Everhour\"},\"image\":{\"@id\":\"https:\/\/everhour.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/everhour\/\",\"https:\/\/x.com\/everhour\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/everhour.com\/blog\/#\/schema\/person\/78042939524be6203913e44065f9d2aa\",\"name\":\"Maria\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/8b05973613f86b5296268619fff28df1a1afaa207461cea18bfe09f2fc111b83?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8b05973613f86b5296268619fff28df1a1afaa207461cea18bfe09f2fc111b83?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8b05973613f86b5296268619fff28df1a1afaa207461cea18bfe09f2fc111b83?s=96&r=g\",\"caption\":\"Maria\"},\"description\":\"A dedicated content enthusiast with extensive experience in international teams and projects of all sizes. Maria thrives on creativity and attention to detail, fueled by a love for fantasy novels, music, classic black-and-white films, and always finding ways to make things better.\",\"sameAs\":[\"https:\/\/x.com\/maria.k\"],\"url\":\"https:\/\/everhour.com\/blog\/author\/maria-k\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Delete a Repository in GitHub: Step-by-Step Guide [2026]","description":"Learn how to delete a repository in GitHub (including forks, files & folders) using both the GitHub UI and command line.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/","og_locale":"en_US","og_type":"article","og_title":"How to Delete a Repository in GitHub: Step-by-Step Guide [2026]","og_description":"Learn how to delete a repository in GitHub (including forks, files & folders) using both the GitHub UI and command line.","og_url":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/","og_site_name":"Time Tracking &amp; Project Management Blog","article_publisher":"https:\/\/www.facebook.com\/everhour\/","article_published_time":"2025-06-20T09:05:00+00:00","article_modified_time":"2026-03-21T09:25:16+00:00","og_image":[{"width":1024,"height":684,"url":"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/chris-ried-ieic5Tq8YMk-unsplash-1.jpg","type":"image\/jpeg"}],"author":"Maria","twitter_card":"summary_large_image","twitter_creator":"@maria.k","twitter_site":"@everhour","twitter_misc":{"Written by":"Maria","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#article","isPartOf":{"@id":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/"},"author":{"name":"Maria","@id":"https:\/\/everhour.com\/blog\/#\/schema\/person\/78042939524be6203913e44065f9d2aa"},"headline":"How to Delete a Repository in GitHub [Most Up-to-Date Guide]","datePublished":"2025-06-20T09:05:00+00:00","dateModified":"2026-03-21T09:25:16+00:00","mainEntityOfPage":{"@id":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/"},"wordCount":799,"publisher":{"@id":"https:\/\/everhour.com\/blog\/#organization"},"image":{"@id":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#primaryimage"},"thumbnailUrl":"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/chris-ried-ieic5Tq8YMk-unsplash-1.jpg","articleSection":["Apps &amp; Tools \u2699\ufe0f","Github"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/","url":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/","name":"How to Delete a Repository in GitHub: Step-by-Step Guide [2026]","isPartOf":{"@id":"https:\/\/everhour.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#primaryimage"},"image":{"@id":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#primaryimage"},"thumbnailUrl":"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/chris-ried-ieic5Tq8YMk-unsplash-1.jpg","datePublished":"2025-06-20T09:05:00+00:00","dateModified":"2026-03-21T09:25:16+00:00","description":"Learn how to delete a repository in GitHub (including forks, files & folders) using both the GitHub UI and command line.","breadcrumb":{"@id":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#primaryimage","url":"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/chris-ried-ieic5Tq8YMk-unsplash-1.jpg","contentUrl":"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2025\/04\/chris-ried-ieic5Tq8YMk-unsplash-1.jpg","width":1024,"height":684,"caption":"how to delete a repository in github (2025 guide)"},{"@type":"BreadcrumbList","@id":"https:\/\/everhour.com\/blog\/how-to-delete-a-repository-in-github\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Github","item":"https:\/\/everhour.com\/blog\/category\/github\/"},{"@type":"ListItem","position":2,"name":"How to Delete a Repository in GitHub [Most Up-to-Date Guide]"}]},{"@type":"WebSite","@id":"https:\/\/everhour.com\/blog\/#website","url":"https:\/\/everhour.com\/blog\/","name":"Time Tracking &amp; Project Management Blog","description":"Everhour","publisher":{"@id":"https:\/\/everhour.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/everhour.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/everhour.com\/blog\/#organization","name":"Everhour","url":"https:\/\/everhour.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/everhour.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2019\/05\/everhour_big_256.png","contentUrl":"https:\/\/everhour.com\/blog\/wp-content\/uploads\/2019\/05\/everhour_big_256.png","width":256,"height":256,"caption":"Everhour"},"image":{"@id":"https:\/\/everhour.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/everhour\/","https:\/\/x.com\/everhour"]},{"@type":"Person","@id":"https:\/\/everhour.com\/blog\/#\/schema\/person\/78042939524be6203913e44065f9d2aa","name":"Maria","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8b05973613f86b5296268619fff28df1a1afaa207461cea18bfe09f2fc111b83?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8b05973613f86b5296268619fff28df1a1afaa207461cea18bfe09f2fc111b83?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8b05973613f86b5296268619fff28df1a1afaa207461cea18bfe09f2fc111b83?s=96&r=g","caption":"Maria"},"description":"A dedicated content enthusiast with extensive experience in international teams and projects of all sizes. Maria thrives on creativity and attention to detail, fueled by a love for fantasy novels, music, classic black-and-white films, and always finding ways to make things better.","sameAs":["https:\/\/x.com\/maria.k"],"url":"https:\/\/everhour.com\/blog\/author\/maria-k\/"}]}},"_links":{"self":[{"href":"https:\/\/everhour.com\/blog\/wp-json\/wp\/v2\/posts\/55402","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/everhour.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/everhour.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/everhour.com\/blog\/wp-json\/wp\/v2\/users\/55"}],"replies":[{"embeddable":true,"href":"https:\/\/everhour.com\/blog\/wp-json\/wp\/v2\/comments?post=55402"}],"version-history":[{"count":5,"href":"https:\/\/everhour.com\/blog\/wp-json\/wp\/v2\/posts\/55402\/revisions"}],"predecessor-version":[{"id":69072,"href":"https:\/\/everhour.com\/blog\/wp-json\/wp\/v2\/posts\/55402\/revisions\/69072"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/everhour.com\/blog\/wp-json\/wp\/v2\/media\/55406"}],"wp:attachment":[{"href":"https:\/\/everhour.com\/blog\/wp-json\/wp\/v2\/media?parent=55402"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/everhour.com\/blog\/wp-json\/wp\/v2\/categories?post=55402"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/everhour.com\/blog\/wp-json\/wp\/v2\/tags?post=55402"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}