$ git clone -n https://gitee.com/happy_orange/ppp.git /var/lib/mock/dist-an23-build-106732-45627/root/chroot_tmpdir/scmroot/ppp Cloning into '/var/lib/mock/dist-an23-build-106732-45627/root/chroot_tmpdir/scmroot/ppp'... $ git reset --hard 254c888376b09f2b9bb040edd6d7417fd827583b HEAD is now at 254c888 init pacakge from upstream