$ git clone -n https://git.cclinux.org/stage/rpms/libldb.git /var/lib/mock/dist-circle9-build-120196-84911/root/chroot_tmpdir/scmroot/libldb Cloning into '/var/lib/mock/dist-circle9-build-120196-84911/root/chroot_tmpdir/scmroot/libldb'... $ git fetch origin 0e48502df45d9bd3965032fd12672c5ab397a295:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/libldb * [new ref] 0e48502df45d9bd3965032fd12672c5ab397a295 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0e48502 import libldb-2.8.0-1.el9