$ git clone -n https://src.fedoraproject.org/rpms/shunit2.git /var/lib/mock/f41-build-1049387-19179/root/chroot_tmpdir/scmroot/shunit2 Cloning into '/var/lib/mock/f41-build-1049387-19179/root/chroot_tmpdir/scmroot/shunit2'... $ git fetch origin 0109e5629ae8e0a1dd9be1879f4e205b0eceffeb:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/shunit2 * [new ref] 0109e5629ae8e0a1dd9be1879f4e205b0eceffeb -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 0109e56 Eliminate use of obsolete %patchN syntax (#2283636)