github历史花费太长时间才能生成

时间:2019-04-08 09:47:51

标签: git github

安装postgis失败

CREATE EXTENSION PostGIS WITH SCHEMA postgis;
ERROR:  could not open extension control file "/usr/local/Cellar/postgresql@9.5/9.5.12/share/postgresql@9.5/extension/postgis.control": No such file or directory

在此页面上使用psql 9.5.12为Mavericks设置搜索合适的版本:

https://github.com/Homebrew/homebrew-core/commits/master/Formula/postgis.rb

返回

Sorry, this commit history is taking too long to generate.
Refresh the page to try again, or view this history locally using the following command:
git log master -- Formula/postgis.rb

但是返回fatal: bad revision 'master'

还有另一种查询历史记录的方法(或根据对postgresql版本的依赖性来调用postgis的方法)吗?

1 个答案:

答案 0 :(得分:1)

您需要先克隆存储库以查询其历史记录:

git clone https://github.com/Homebrew/homebrew-core.git && cd homebrew-core
git log master -- Formula/postgis.rb

或者,如果您的计算机上已经装有Homebrew,则可以直接进入其存储库:

cd $(brew --repo)
git log master -- Formula/postgis.rb