$ git clone -n https://src.fedoraproject.org/rpms/kf6-kdeclarative.git /var/lib/mock/f42-build-862210-170689/root/chroot_tmpdir/scmroot/kf6-kdeclarative Cloning into '/var/lib/mock/f42-build-862210-170689/root/chroot_tmpdir/scmroot/kf6-kdeclarative'... $ git fetch origin 3c5dc126c66cef6689a0d62d6930f9ee744ea432:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kf6-kdeclarative * [new ref] 3c5dc126c66cef6689a0d62d6930f9ee744ea432 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 3c5dc12 6.8.0