$ git clone -n https://src.fedoraproject.org/rpms/libkexiv2.git /var/lib/mock/f41-build-815479-149534/root/chroot_tmpdir/scmroot/libkexiv2 Cloning into '/var/lib/mock/f41-build-815479-149534/root/chroot_tmpdir/scmroot/libkexiv2'... $ git fetch origin 29c2ad5fe067f612ca011124aa813f1d0118aaa0:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libkexiv2 * [new ref] 29c2ad5fe067f612ca011124aa813f1d0118aaa0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 29c2ad5 24.05.2