我是一名老师,我需要使用最后发送的提交工作,直到截止日期。 如果学生团队维持master,我会知道该怎么办。 for i in `ls -1` ; do cd $i; git log -1 --until='2016-12-16'; cd - > /dev/null; done
这将搜索当前分支的历史记录。但是他们的分支机构是非常结构化的,他们甚至没有合并彼此的分支机构。所以我可能会采取任何分
目前以审查犯下的一个分支我做下面的步骤进行: git merge-base HEAD master # to get the hash of when the branch came off parent
git show [hash from above command]..my-branch
然而,这列出了按时间倒序排列的提交。我想回顾一下从第一个开始到最近结束的提交。要获得提交哈希在这