$ git clone -n https://git.cclinux.org/stage/rpms/ruby.git /var/lib/mock/dist-circle9-build-120351-85031/root/chroot_tmpdir/scmroot/ruby Cloning into '/var/lib/mock/dist-circle9-build-120351-85031/root/chroot_tmpdir/scmroot/ruby'... $ git fetch origin 15a033d9b6aa4879ac23a135e810c2d3d72122ce:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/ruby * [new ref] 15a033d9b6aa4879ac23a135e810c2d3d72122ce -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 15a033d import ruby-3.0.4-161.el9