$ git clone -n https://git.cclinux.org/stage/rpms/ecj.git /var/lib/mock/dist-circle9-build-119794-84565/root/chroot_tmpdir/scmroot/ecj Cloning into '/var/lib/mock/dist-circle9-build-119794-84565/root/chroot_tmpdir/scmroot/ecj'... $ git fetch origin 311631ca1c9e1d00df2e95ee96d172884762c6ae:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/ecj * [new ref] 311631ca1c9e1d00df2e95ee96d172884762c6ae -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 311631c import ecj-4.20-16.el9