python - 如何检查 pip 安装包的 git 哈希
问题描述
有什么方便的方法来检查 pip 安装包的 git-hash 吗?
例如,我通过指定其提交哈希从 github 安装一个包:
pip install git+https://github.com/user/some-repository@[git-commit-hash]#egg=package-name
在编写代码并做了一些实验之后,我忘记了我安装了哪个版本。
至少
pip show --verbose package-name
不提供有关 git commit hash 的任何信息。
解决方案
推荐阅读
- javascript - 无法在 Laravel 页面的谷歌浏览器中检测到选项卡关闭事件
- angular - 指定 rxjs observable 的“错误”处理程序的类型
- ios - UISearchBar 和 UISearchBarController 的区别?
- uwp - 如何在 Windows 10 GATT 服务中打开 L2CAP 通道?
- c# - 如何删除文件而不显示位置
- php - 如何在 bluehost 服务器中将 Server API CGI/FastCGI 更改为 Apache Handler。某些功能在我的 php 配置中不起作用
- visual-studio - EF 迁移和 $SolutionDir、.NetCore 2.2
- ios - CollectionView 中用于评论和回复的多个单元格
- batch-file - 批处理文件使用带有 % 或 excalm 符号的变量
- ruby-on-rails - 运行 rails s 时出错“要求无法加载此类文件,请在救援中
& 阻止要求”