$ git clone -n https://src.fedoraproject.org/rpms/php-smbclient.git /var/lib/mock/f40-build-784855-133644/root/chroot_tmpdir/scmroot/php-smbclient Cloning into '/var/lib/mock/f40-build-784855-133644/root/chroot_tmpdir/scmroot/php-smbclient'... $ git fetch origin 301e9f92782cc04a553823ede4b00fd2ff348df3:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/php-smbclient * [new ref] 301e9f92782cc04a553823ede4b00fd2ff348df3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 301e9f9 fix incompatible pointer types using upstream patch