$ git clone -n https://gitee.com/leeffo/osinfo-db.git /var/lib/mock/dist-an8.6-build-181317-59657/root/chroot_tmpdir/scmroot/osinfo-db Cloning into '/var/lib/mock/dist-an8.6-build-181317-59657/root/chroot_tmpdir/scmroot/osinfo-db'... $ git fetch origin c118b942be3b5c2d393329f2ee272a2fd6b56b4d:KOJI_FETCH_HEAD From https://gitee.com/leeffo/osinfo-db * [new ref] c118b942be3b5c2d393329f2ee272a2fd6b56b4d -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c118b94 update to osinfo-db-20220727-3.el9.src.rpm