$ git clone -n https://git.cclinux.org/stage/rpms/valgrind.git /var/lib/mock/dist-circle9-build-120229-84929/root/chroot_tmpdir/scmroot/valgrind Cloning into '/var/lib/mock/dist-circle9-build-120229-84929/root/chroot_tmpdir/scmroot/valgrind'... $ git fetch origin a7658cfc5c4e34b28b7f3efd0341121ea56f938e:KOJI_FETCH_HEAD From https://git.cclinux.org/stage/rpms/valgrind * [new ref] a7658cfc5c4e34b28b7f3efd0341121ea56f938e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a7658cf import valgrind-3.22.0-2.el9