$ git clone -n https://gitee.com/happy_orange/sysprof_1.git /var/lib/mock/dist-an23-build-94789-45500/root/chroot_tmpdir/scmroot/sysprof_1 Cloning into '/var/lib/mock/dist-an23-build-94789-45500/root/chroot_tmpdir/scmroot/sysprof_1'... $ git reset --hard c7a7cab5264d459f4bd7c30ccbbae8a7abb723b1 HEAD is now at c7a7cab init package from upstrem