已克隆GIT回购但无法在Github看到回购(Have cloned GIT repo but cant see the repo in Github)

编程入门 行业动态 更新时间:2024-10-28 02:24:57
已克隆GIT回购但无法在Github看到回购(Have cloned GIT repo but cant see the repo in Github)

我已将SSH密钥提供给GIT存储库的维护者。 必须添加我的密钥,因为我能够在本地克隆存储库。

现在我想在Github中看到我的提交列表,但我看不到它们甚至是存储库。 我在哪里可以找到这个并且是否可以允许您的SSH密钥但不能添加到Github中的repo中?

Ive given my SSH key to the maintainer of a GIT repository. My key must have been added as I was able to clone the repository locally.

Now I want to see a list of my commits in Github but I cant see them or even the repository. Where would I find this and is it possible to have your SSH key allowed but not be added to the repo in Github?

最满意答案

我假设存储库是私有的。 因此,如果您是所有者或访问权限,则唯一可访问权限是明确授予的。

在github上,您可以访问用户帐户(即,可以通过https访问)以及ssh密钥(例如,对于与帐户无关但仅与存储库关联的buildbots;这种方式,此ssh密钥只能访问此repo但没有其他的回购 - 如果这个ssh密钥被破坏,这可以有助于缓解安全问题)。

我想后一种情况就是你所处的情况。

I assume the repository is a private one. So its only accesible if you are the owner or acces is explicitely granted.

On github you can give access to user accounts (i.e., access via https possible) and also to ssh keys (e.g. for buildbots which are not associated to an account but only with a repository; this way this ssh key can only access this repo but no other repos - this can be useful to mitigate security issues if this ssh key gets compromised).

I suppose the latter case is the case you are in.

更多推荐

本文发布于:2023-08-07 05:03:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1459605.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Github   GIT   repo   cloned

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!