$ git clone -n https://src.fedoraproject.org/rpms/kdenetwork-filesharing.git /var/lib/mock/f39-build-1870841-42680/root/chroot_tmpdir/scmroot/kdenetwork-filesharing Cloning into '/var/lib/mock/f39-build-1870841-42680/root/chroot_tmpdir/scmroot/kdenetwork-filesharing'... $ git fetch origin 7245bae9dbb3b8d6edf670c5021cb42073c285a2:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kdenetwork-filesharing * [new ref] 7245bae9dbb3b8d6edf670c5021cb42073c285a2 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 7245bae 23.08.3