$ git clone -n https://src.fedoraproject.org/rpms/libkexiv2.git /var/lib/mock/f40-build-784395-133362/root/chroot_tmpdir/scmroot/libkexiv2 Cloning into '/var/lib/mock/f40-build-784395-133362/root/chroot_tmpdir/scmroot/libkexiv2'... $ git fetch origin 1e9ef127f951423ee4c2368d0fea1a5e37bec2fe:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libkexiv2 * [new ref] 1e9ef127f951423ee4c2368d0fea1a5e37bec2fe -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 1e9ef12 24.02.0