$ git clone -n https://src.fedoraproject.org/rpms/dlib.git /var/lib/mock/f41-build-855066-167060/root/chroot_tmpdir/scmroot/dlib Cloning into '/var/lib/mock/f41-build-855066-167060/root/chroot_tmpdir/scmroot/dlib'... $ git fetch origin e0aaafcca7f0f40ee8187ecff7479e16cb76af2e:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/dlib * [new ref] e0aaafcca7f0f40ee8187ecff7479e16cb76af2e -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at e0aaafc fix: remove upstreamed patch