$ git clone -n https://src.fedoraproject.org/rpms/kmousetool.git /var/lib/mock/f40-build-2179213-51101/root/chroot_tmpdir/scmroot/kmousetool Cloning into '/var/lib/mock/f40-build-2179213-51101/root/chroot_tmpdir/scmroot/kmousetool'... $ git fetch origin 5c9715b33021301a276f644b08fc3dac81a2fde3:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kmousetool * [new ref] 5c9715b33021301a276f644b08fc3dac81a2fde3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5c9715b 24.01.85