$ git clone -n https://git.cclinux.org/stage/rpms/gcc.git /var/lib/mock/dist-circle9-build-120060-84751/root/chroot_tmpdir/scmroot/gcc Cloning into '/var/lib/mock/dist-circle9-build-120060-84751/root/chroot_tmpdir/scmroot/gcc'... $ git fetch origin 7f80cf9d0a0d654014b04b710a671c0190d5e0b8:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/gcc * [new ref] 7f80cf9d0a0d654014b04b710a671c0190d5e0b8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7f80cf9 import gcc-11.4.1-3.el9