一起源码网

标题: Git的一些使用案例 [打印本页]

作者: 云文章    时间: 2020-5-1 04:30
标题: Git的一些使用案例

按照格式输出提交号 作者 时间

git log --pretty=format:"%h %an %cd" --date=iso

获取所有远程的tag和他的commit sha1

git ls-remote --tags origin | grep [0-9]$

获取从 开始时间 到 结束时间 之间的所有提交

git log --since="2016-11-24 01:29:13 -0800" --until="2016-11-25 17:01:54 +0800" --pretty=format:"%Cgreen%h%Creset %an %cd %s" --date=iso


作者: 宗介喜欢波妞    时间: 2022-10-1 19:41
怎么通过源文件下载视频




欢迎光临 一起源码网 (https://www.171739.xyz/) Powered by Discuz! X3.3