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