$ git clone -n https://gitee.com/src-opencloudos-rpms/libdnf /var/lib/mock/dist-oc8-build-20554-5266/root/chroot_tmpdir/scmroot/libdnf Cloning into '/var/lib/mock/dist-oc8-build-20554-5266/root/chroot_tmpdir/scmroot/libdnf'... $ git reset --hard origin/oc8 HEAD is now at e73cc59 update release