简体   繁体   English

如何从 git gui 中删除存储库?

[英]How do I remove a repository from git gui?

I'm just learning Git and would like to remove my first project from git gui.我只是在学习 Git 并想从 git gui 中删除我的第一个项目。

如果你想要摆脱项目本身继续并删除它,如果你只是想摆脱存储库并保持代码删除.git文件夹在项目的根目录。

Under your repository name, click Settings. 在存储库名称下,单击“设置”。

click on delete repository button. 单击“删除存储库”按钮。

you will get pop-up if you want to permanently delete it then just click on delete button. 如果你想永久删除它,你会弹出,然后只需点击删除按钮。 Now its done. 现在已经完成了。

First delete the repository under settings.首先删除设置下的存储库。 After that you need to delete the hidden.git folders... for that use this command in git command line: $ rm -rf.git之后,您需要删除 hidden.git 文件夹... 为此,请在 git 命令行中使用此命令: $ rm -rf.git

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将存储库从github克隆到git gui? - How do i clone a repository from github to git gui ? 如何从 git 存储库中删除作者? - How do I remove an author from a git repository? 如何从 Git 存储库中删除目录? - How do I remove a directory from a Git repository? 如何从git存储库中删除有冲突的引用? - How do I remove conflicting reference from git repository? 如何从 git 存储库中删除旧历史记录? - How do I remove the old history from a git repository? 如何从本地 git 存储库和本地文件系统中删除文件,而不是从远程存储库中删除文件? - How do I remove a file from local git repository and local file system but not from remote repository? 如何从主 git 存储库中删除未跟踪的目录树(子模块/子存储库)? - How do I remove untracked directory tree (submodule / sub-repository) from main git repository? 如何删除裸`git`存储库中的唯一分支? - How do I remove the only branch in a bare `git` repository? 如何在保持在线版本的同时从计算机中删除git存储库? - How do I remove a git repository from my computer while keeping the online version? 如何从 git 存储库中完全删除文件的特定版本? - How do I totally remove a specific version of a file from a git repository?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM