$ git clone -n https://src.fedoraproject.org/rpms/httpcomponents-client.git /var/lib/mock/f40-build-2193966-51481/root/chroot_tmpdir/scmroot/httpcomponents-client Cloning into '/var/lib/mock/f40-build-2193966-51481/root/chroot_tmpdir/scmroot/httpcomponents-client'... $ git fetch origin 33f2361fbe6a7a24d3cb1fa8e28d75adb7450012:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/httpcomponents-client * [new ref] 33f2361fbe6a7a24d3cb1fa8e28d75adb7450012 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 33f2361 Get rid of module_prefix macro