$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-NNTPClient.git /var/lib/mock/dist-oc8-build-26128-7123/root/chroot_tmpdir/scmroot/perl-NNTPClient Cloning into '/var/lib/mock/dist-oc8-build-26128-7123/root/chroot_tmpdir/scmroot/perl-NNTPClient'... $ git reset --hard origin/oc8 HEAD is now at 1b8d3b7 import perl-NNTPClient-0.37-5.oc8