无法弄清楚如何安装此拉取请求:
https://github.com/shamanu4/dal_admin_filters/pull/23
我试图找到最后一次提交:
https://github.com/shamanu4/dal_admin_filters/pull/23/commits/43f33db7c57058613a5410776575ce5f0f78357b
并运行:
pip install git+https://github.com/shamanu4/dal_admin_filters/pull/23/commits/43f33db7c57058613a5410776575ce5f0f78357b
但它返回:
Collecting git+https://github.com/shamanu4/dal_admin_filters/pull/23/commits/43f33db7c57058613a5410776575ce5f0f78357b
Cloning https://github.com/shamanu4/dal_admin_filters/pull/23/commits/43f33db7c57058613a5410776575ce5f0f78357b to /tmp/pip-req-build-3uyhi6ui
fatal: repository 'https://github.com/shamanu4/dal_admin_filters/pull/23/commits/43f33db7c57058613a5410776575ce5f0f78357b/' not found
Command "git clone -q https://github.com/shamanu4/dal_admin_filters/pull/23/commits/43f33db7c57058613a5410776575ce5f0f78357b /tmp/pip-req-build-3uyhi6ui" failed with error code 128 in None
如何使其起作用?我的Django
项目需要修复。
答案 0 :(得分:0)
提交未推送到主服务器中。
➜ dal_admin_filters git:(master) git checkout 43f33db7c57058613a5410776575ce5f0f78357b
fatal: reference is not a tree: 43f33db7c57058613a5410776575ce5f0f78357b
➜ dal_admin_filters git:(master)
您应按照here中所述的步骤进行操作。
否则,您可以直接在本地编辑文件。 There aren't much changes
否则,您可以创建自己的git存储库,克隆该存储库并包括__init__.py
中的更改。但是,在这种情况下,您将无法跟踪提交到存储库的更改。