$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Net-DNS-Resolver-Mock.git /var/lib/mock/dist-oc8-build-26131-7123/root/chroot_tmpdir/scmroot/perl-Net-DNS-Resolver-Mock Cloning into '/var/lib/mock/dist-oc8-build-26131-7123/root/chroot_tmpdir/scmroot/perl-Net-DNS-Resolver-Mock'... $ git reset --hard origin/oc8 HEAD is now at 61c52f9 import perl-Net-DNS-Resolver-Mock-1.20171219-4.oc8