![](/img/trans.png)
[英]Cloning github repositories to pc and making them executable on linux
[英]How to Remove Github Repositories
2021 年 3 月 12 日
我正在嘗試擦除 git 上的存儲庫。 我將它設置為初始練習,但現在,我不想使用它,因為名稱很愚蠢(匆忙創建它)我需要擺脫它,因為 PC 在我使用時一直試圖引用它Git。 我只需要使用我更新的(更好命名的)存儲庫。 我至少不熟悉 git cli。 任何幫助,將不勝感激。
Git 在初始化或克隆存儲庫時會創建一個隱藏的.git
文件夾。 刪除該文件夾以擺脫 repo。
在命令行中,您可以使用rd /S/Q.git
(Windows) 或rm -rf.git
(Mac/Linux) 將其刪除。
如果您想從 GitHub 中刪除存儲庫,您可以通過Settings -> Options -> Delete this repository
來執行此操作
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.