$ git clone -n https://gitee.com/happy_orange/sysom.git /var/lib/mock/dist-an8.6-build-204153-60984/root/chroot_tmpdir/scmroot/sysom Cloning into '/var/lib/mock/dist-an8.6-build-204153-60984/root/chroot_tmpdir/scmroot/sysom'... $ git reset --hard ce864d0c5f023a88795e6cb9007df66f446c570d HEAD is now at ce864d0 update the source code