$ git clone -n https://gitee.com/happy_orange/ninja-build.git /var/lib/mock/dist-an23-build-107831-45692/root/chroot_tmpdir/scmroot/ninja-build Cloning into '/var/lib/mock/dist-an23-build-107831-45692/root/chroot_tmpdir/scmroot/ninja-build'... $ git reset --hard 47d786ca2d753bd8b0e5d9b69371a57915b55f0d HEAD is now at 47d786c init pacakge from upstream