- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在使用 github api,试图找到我在特定日期的所有提交。
正如预期的那样,此查询返回我的所有提交:
https://api.github.com/search/commits?q=committer-email:foo@bar.com
最佳答案
查询中有一个小的语法错误。尝试更改 &
至 +
和 =
至 :
.进行这些更改您的查询将变成 -curl -H 'Accept: application/vnd.github.cloak-preview' \https://api.github.com/search/commits?q=committer-email:foo@bar.com+committer-date:2017-08-13..2017-08-14
.
当我在我的终端上运行它时,我只得到一个提交(参见下面的截断结果)。
Medapas-MacBook-Air:~ medapa$ curl -H 'Accept: application/vnd.github.cloak-preview' \https://api.github.com/search/commits?q=committer-email:foo@bar.com+committer-date:2017-08-13..2017-08-14
{
"total_count": 1,
"incomplete_results": false,
"items": [
{
"url": "https://api.github.com/repos/mstricklin/batis00/commits/af9295b930223e394f7f0d742af351ea3ef02351",
"sha": "af9295b930223e394f7f0d742af351ea3ef02351",
"html_url": "https://github.com/mstricklin/batis00/commit/af9295b930223e394f7f0d742af351ea3ef02351",
"comments_url": "https://api.github.com/repos/mstricklin/batis00/commits/af9295b930223e394f7f0d742af351ea3ef02351/comments",
"commit": {
"url": "https://api.github.com/repos/mstricklin/batis00/git/commits/af9295b930223e394f7f0d742af351ea3ef02351",
"author": {
"date": "2017-08-13T20:10:55.000-05:00",
"name": "mstricklin",
"email": "foo@bar.com"
},
"committer": {
"date": "2017-08-13T20:10:55.000-05:00",
"name": "mstricklin",
"email": "foo@bar.com"
},
"message": "01",
"tree": {
"url": "https://api.github.com/repos/mstricklin/batis00/git/trees/e0fe96439a79eb6d84996f351025488bb0e7114d",
"sha": "e0fe96439a79eb6d84996f351025488bb0e7114d"
},
"comment_count": 0
},
"author": {
"login": "invalid-email-address",
关于github-api - Github API 调用 : filter by committer-date,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45990626/
将存储库从 Git 转换为 Mercurial 会导致在每条日志消息中加载虚假的“提交者:”行。我想不出不生成这些的方法。如果我转换 SVN 存储库,则不会添加这些行。这似乎只是一个 git 的东西。
阅读文档,我发现我可以通过结合 git config user.name 来预测 Git 将使用什么作为“提交者”和 git config user.email连同 $GIT_COMMITTER_NA
我正在尝试使用 git2go 输出文件列表,以及它们在存储库中的最新作者和最近提交日期。使用 tree.Walk 循环访问文件似乎很简单: package main import ( "tim
我正在使用 github api,试图找到我在特定日期的所有提交。 正如预期的那样,此查询返回我的所有提交: https://api.github.com/search/commits?q=commi
当尝试从 bitbucket 移动到 github 时,我在一次提交中遇到了 fatal error : error in commit d8b1774aa7bd98c6494a1e31acef943
当尝试从 bitbucket 移动到 github 时,我在一次提交中遇到了 fatal error : error in commit d8b1774aa7bd98c6494a1e31acef943
我尝试将最新提交的提交者日期设置为其作者日期。通常这适用于 git rebase --committer-date-is-author-date HEAD~1。不幸的是只有一个提交,这意味着我必须使用
Git 推送被拒绝并显示以下错误消息: expected committer email '' but found 'karan@xyz.com' 我已经试过了: 在 .gitconfig 文件中设置
我正在尝试设置 spark.sql.parquet.output.committer.class而且我所做的一切似乎都没有使设置生效。 我试图让许多线程写入同一个输出文件夹,这将与 org.apach
我正在尝试使用 Apache Spark 将 Parquet 数据写入 AWS S3 目录。我在 Windows 10 上使用我的本地计算机,但没有安装 Spark 和 Hadoop,而是将它们添加为
关闭。这个问题需要debugging details .它目前不接受答案。 想改善这个问题吗?更新问题,使其成为 on-topic对于堆栈溢出。 上个月关闭。 Improve this questio
我是一名优秀的程序员,十分优秀!