$ git clone -n https://gitee.com/happy_orange/ppp.git /var/lib/mock/dist-an23-build-97716-45580/root/chroot_tmpdir/scmroot/ppp Cloning into '/var/lib/mock/dist-an23-build-97716-45580/root/chroot_tmpdir/scmroot/ppp'... $ git reset --hard ae57191ab372ad1e77a5ef5800c4e698643a11c7 HEAD is now at ae57191 init pacakge from upstream