$ git clone -n https://src.fedoraproject.org/rpms/ktuberling.git /var/lib/mock/f40-build-1951075-25188/root/chroot_tmpdir/scmroot/ktuberling Cloning into '/var/lib/mock/f40-build-1951075-25188/root/chroot_tmpdir/scmroot/ktuberling'... $ git fetch origin eb3ad5d71b28d2d3a5132512beda857e7509af34:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/ktuberling * [new ref] eb3ad5d71b28d2d3a5132512beda857e7509af34 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at eb3ad5d 24.05.2