$ git clone -n https://gitee.com/happy_orange/perl-YAML.git /var/lib/mock/dist-an23-build-107747-45690/root/chroot_tmpdir/scmroot/perl-YAML Cloning into '/var/lib/mock/dist-an23-build-107747-45690/root/chroot_tmpdir/scmroot/perl-YAML'... $ git reset --hard 71f76374b723f6f26749b9a767416348604894c7 HEAD is now at 71f7637 init pacakge from upstream