$ git clone -n https://git.cclinux.org/stage/rpms/rear.git /var/lib/mock/dist-circle8-build-110333-66604/root/chroot_tmpdir/scmroot/rear Cloning into '/var/lib/mock/dist-circle8-build-110333-66604/root/chroot_tmpdir/scmroot/rear'... $ git fetch origin 1ff54b08ca3f90c6ce52a2535361ea68c1c2da41:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/rear * [new ref] 1ff54b08ca3f90c6ce52a2535361ea68c1c2da41 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1ff54b0 import rear-2.6-10.el8