如何从浏览器使用GitHub代码导航? [英] How to use GitHub code navigation from browser?

查看:58
本文介绍了如何从浏览器使用GitHub代码导航?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想利用浏览器上GitHub的代码导航功能,但在python代码顶部得到此错误消息:

I want to take advantage of GitHub's code navigation features on the browser but I am getting this error message at the top of the python code:

代码导航可用于此存储库,但此提交的数据不存在.

成功运行时会显示:

您正在使用代码导航跳到定义或引用.

有人可以帮助我理解此消息的含义吗?

Could somebody help me understand what this message means?

推荐答案

考虑

Considering Code Navigation was released in limited public beta for select repositories earlier this year, and available on Python repositories since last November, it is possible your repository (assuming it has commits) was not yet scanned, especially if it is fairly recent.

此外,帮助页面提及:

代码导航可用于活动分支.
如果为您启用了该功能,但是看不到函数和方法的定义的链接,请推送至分支,然后重试.

Code navigation works for active branches.
If the feature is enabled for you but you don't see links to the definitions of functions and methods, push to the branch and try again.

这篇关于如何从浏览器使用GitHub代码导航?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆