$ git clone -n https://git.cclinux.org/stage/rpms/file.git /var/lib/mock/dist-circle8-build-109026-60779/root/chroot_tmpdir/scmroot/file Cloning into '/var/lib/mock/dist-circle8-build-109026-60779/root/chroot_tmpdir/scmroot/file'... $ git fetch origin 515209f849314b37672d1751e49cc04f6f45dfe1:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/file * [new ref] 515209f849314b37672d1751e49cc04f6f45dfe1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 515209f import file-5.33-25.el8