$ git clone -n https://src.fedoraproject.org/rpms/amarok.git /var/lib/mock/f41-build-849427-164777/root/chroot_tmpdir/scmroot/amarok Cloning into '/var/lib/mock/f41-build-849427-164777/root/chroot_tmpdir/scmroot/amarok'... $ git fetch origin 44637a5441c45d65b47b9c784abc23b0f0e6417a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/amarok * [new ref] 44637a5441c45d65b47b9c784abc23b0f0e6417a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 44637a5 3.0.81