$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Net-DNS-Resolver-Programmable.git /var/lib/mock/dist-oc8-build-26130-7123/root/chroot_tmpdir/scmroot/perl-Net-DNS-Resolver-Programmable Cloning into '/var/lib/mock/dist-oc8-build-26130-7123/root/chroot_tmpdir/scmroot/perl-Net-DNS-Resolver-Programmable'... $ git reset --hard origin/oc8 HEAD is now at f1e329f import perl-Net-DNS-Resolver-Programmable-0.009-2.oc8