$ git clone -n https://src.fedoraproject.org/rpms/aws-c-cal.git /var/lib/mock/f42-build-side-1-3502104-45977/root/chroot_tmpdir/scmroot/aws-c-cal Cloning into '/var/lib/mock/f42-build-side-1-3502104-45977/root/chroot_tmpdir/scmroot/aws-c-cal'... $ git fetch origin a20ab2519ee0be037a6b5342ed4154cdfe773c41:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/aws-c-cal * [new ref] a20ab2519ee0be037a6b5342ed4154cdfe773c41 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a20ab25 fix: Address build issues by patch removal and update