$ git clone -n https://gitee.com/src-opencloudos-rpms/perl-Mail-IMAPTalk.git /var/lib/mock/dist-oc8-build-26169-7135/root/chroot_tmpdir/scmroot/perl-Mail-IMAPTalk Cloning into '/var/lib/mock/dist-oc8-build-26169-7135/root/chroot_tmpdir/scmroot/perl-Mail-IMAPTalk'... $ git reset --hard origin/oc8 HEAD is now at 7de0f86 import perl-Mail-IMAPTalk-4.04-5.oc8