$ git clone -n https://src.fedoraproject.org/rpms/libksane.git /var/lib/mock/f40-build-793957-139322/root/chroot_tmpdir/scmroot/libksane Cloning into '/var/lib/mock/f40-build-793957-139322/root/chroot_tmpdir/scmroot/libksane'... $ git fetch origin 4c46f90ee741a2939eaa4a08375f69cb1a7ee666:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libksane * [new ref] 4c46f90ee741a2939eaa4a08375f69cb1a7ee666 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4c46f90 24.02.0