在git中更改存储库描述 [英] Changing repository description in git
问题描述
我想更改正在处理的项目的存储库描述,但是编辑"按钮不会出现在GitHub网站上.
I'd like to change repository description of the project I'm working on but "Edit" button does not appear in GitHub web site.
我将GitHub用于Windows并提供了外壳程序.
I use GitHub for Windows and provided shell.
尽管在网站上有描述,但.git\description
文件具有默认内容,并且\description
文件在root
文件夹中不存在.该项目的描述存储在哪里,然后如果它存在于GitHub上?
Although description is present on web site .git\description
file has default contents and \description
file is absent in root
folder. Where is the description of the project is stored then if it is present on GitHub?
我更改了.git\description
,但是更改对git状态不可见.
I changed .git\description
but the changes are not visible to the git status.
如何更改项目描述而不在root
文件夹中创建\description
文件或创建指向其.git\description
版本的链接?
How to change the project description without creating \description
file in the root
folder or creating links to its .git\description
version?
推荐答案
您只能更改拥有的项目的GitHub存储库描述.简单的读/写访问不足以改变这一点.基本上,您需要具有与访问项目的管理部分相同的特权.
You can only change the GitHub repository descriptions of projects which you own. Simple read/write access is not enough to change that. You basically need the same privileges as you need to access the administration section of a project.
这篇关于在git中更改存储库描述的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!