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