7

找到了 github 拉取私有仓库的方法

 2 years ago
source link: https://www.v2ex.com/t/874128
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  分享发现

找到了 github 拉取私有仓库的方法

  sunny2580839896 · 15 小时 25 分钟前 · 2261 次点击
git clone https://user:[email protected]/https://github.com/xxxx/xxxx

TOKEN 自己在 github.com 个人设置里创建

原文链接: https://github.com/hunshcn/gh-proxy/issues/71

12 条回复    2022-08-20 17:21:34 +08:00
jeeiodhambfd

jeeiodhambfd      15 小时 21 分钟前 via Android   ❤️ 7

谁尿黄来呲醒他
mercury233

mercury233      15 小时 16 分钟前

这段不是已经写在 gh-proxy 的 readme 里了吗,用这个项目的都看得到

难道你以为这样可以拉取任意私有仓库
Hipan

Hipan      15 小时 15 分钟前

DarlinW

DarlinW      14 小时 58 分钟前   ❤️ 4

黄汤赐汝口,此物最醒狗。
糖尿莫上前,不赐一分甜。
诸君意欲上,还请莫争抢。
吾有稀汤翔,如今不再藏。
此物难寻访,吾欲使其尝。
诸君若有翔,还请别再藏。
同我一起上,赠与少年郎。
sunny2580839896

sunny2580839896      14 小时 54 分钟前

之前没注意,最近看到了所以分享下
sunny2580839896

sunny2580839896      14 小时 47 分钟前

搞错了,我以为是拉取私有仓库文件的方法,这个是拉取私有仓库的方法
wdssmq

wdssmq      13 小时 59 分钟前

话说,,浏览器访问 github 一直都是开代理…… [我从 GAE 时代开始各种工具 /协议基本都用过

但是 ssh 拉取或推送操作除了偶尔抽风外从来都是直连 - -;

前端时间 copilot 连不上,然后想起来是前一天配置中继路由时不小心把 wsl 的网络配置改了……

所以浏览器以外的地方,明确需要代理的也就 tg 和下载某站提取的链接两个场景的样子;

常用线路一条联通,一条移动;

对我来说反向代理的意义:一是为了让别人能直接看到,二是可以方便的实现一些编程效果,比如 cf workers 反代多个源站然后随机返回一个( RSSHub 之类的)
ryh

ryh      12 小时 48 分钟前

把私有 token 暴露给第三方,为什么想不开?
dingwen07

dingwen07      11 小时 49 分钟前 via iPhone

deploy key 了解一下……

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK