$ git clone -n https://gitee.com/src-opencloudos-rpms/libdnf /var/lib/mock/dist-oc8-build-32448-9752/root/chroot_tmpdir/scmroot/libdnf Cloning into '/var/lib/mock/dist-oc8-build-32448-9752/root/chroot_tmpdir/scmroot/libdnf'... $ git reset --hard origin/oc8 HEAD is now at af16f39 import libdnf-0.63.0-11.1.tl3