$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Crypt-PasswdMD5.git /var/lib/mock/dist-oc8-build-26222-7153/root/chroot_tmpdir/scmroot/perl-Crypt-PasswdMD5 Cloning into '/var/lib/mock/dist-oc8-build-26222-7153/root/chroot_tmpdir/scmroot/perl-Crypt-PasswdMD5'... $ git reset --hard origin/oc8 HEAD is now at 0cc61cc import perl-Crypt-PasswdMD5-1.4.0-11.oc8