我从git和GitHub开始,我正在GitHub上看一个项目。我无意中点开了叉子。现在对我来说,这似乎是一个新项目。
我对此有些怀疑:
我知道如果对我的fork repo提交或做其他事情,它将被更新,但更新的代码只有在项目作者请求pull之后才会生效。对吧? 如果我去GitHub的管理面板有一个删除选项。如果我按照上面的选项删除它,对原来的是否有影响?
我想删掉它。到目前为止,我只是在研究代码,并不真正需要fork。
我从git和GitHub开始,我正在GitHub上看一个项目。我无意中点开了叉子。现在对我来说,这似乎是一个新项目。
我对此有些怀疑:
我知道如果对我的fork repo提交或做其他事情,它将被更新,但更新的代码只有在项目作者请求pull之后才会生效。对吧? 如果我去GitHub的管理面板有一个删除选项。如果我按照上面的选项删除它,对原来的是否有影响?
我想删掉它。到目前为止,我只是在研究代码,并不真正需要fork。
当前回答
到目前为止,最简单的方法是登录GitHub账户:
Click to your repository for example yourUsername/yourRepository for example mbaric/zpropertyz. Then in the main toolbar of GitHub click on Settings Scroll to the bottom of the page to the section called Danger Zone and you will find Delete this repository button When you click it another pop up will appear here you need to type in your Github username and the name of your repository in this format gitHubUsername/nameOfTheRepository and click on the button below which says: I understand the consequences, delete the repository If you are having trouble doing it, below are the images that can be checked…
2020-01-15 -以下是图片。享受。
其他回答
到目前为止,最简单的方法是登录GitHub账户:
Click to your repository for example yourUsername/yourRepository for example mbaric/zpropertyz. Then in the main toolbar of GitHub click on Settings Scroll to the bottom of the page to the section called Danger Zone and you will find Delete this repository button When you click it another pop up will appear here you need to type in your Github username and the name of your repository in this format gitHubUsername/nameOfTheRepository and click on the button below which says: I understand the consequences, delete the repository If you are having trouble doing it, below are the images that can be checked…
2020-01-15 -以下是图片。享受。
只要从你的GitHub账户删除分叉回购。
https://help.github.com/articles/deleting-a-repository/
如果我去GitHub的管理面板有一个删除选项。如果我按照上面的选项删除它,对原来的是否有影响?
它不会在原来的一个做任何改变;因为,现在是你的回购了。
我也遇到过这个问题。不,它不会影响你原来的回购无论如何。只需简单地删除它输入名称分叉回购
甜蜜而简单:
打开存储库 导航到设置 滚动到页面底部 点击删除 确认要删除的存储库的名称 点击删除
答案是否定的。它不会影响派生的原始/主存储库。(从功能上讲,如果这样的访问提供给非所有者将是不正确的)。
只是想补充一点。
警告:它会删除你在上面创建的本地提交和分支 你的分叉回购。因此,在删除之前,请确保有备份 如果重要的话,就把代码带在身边。
最好的方法是使用fork repo获得git备份:
git bundle
或者其他熟悉的方法。