$ git clone -n https://gitee.com/src-opencloudos-rpms/libdnf /var/lib/mock/dist-oc8-build-40337-14197/root/chroot_tmpdir/scmroot/libdnf Cloning into '/var/lib/mock/dist-oc8-build-40337-14197/root/chroot_tmpdir/scmroot/libdnf'... $ git reset --hard origin/oc8 HEAD is now at ea2c14d add patch content