$ git clone -n https://gitee.com/happy_orange/sysom.git /var/lib/mock/dist-an23-build-205954-61205/root/chroot_tmpdir/scmroot/sysom Cloning into '/var/lib/mock/dist-an23-build-205954-61205/root/chroot_tmpdir/scmroot/sysom'... $ git reset --hard bb8c727c6043b43f6b5a99a2cf20e86b7e846f96 HEAD is now at bb8c727 update the source code