$ git clone -n https://gitee.com/happy_orange/sysom.git /var/lib/mock/dist-an23-build-204205-61072/root/chroot_tmpdir/scmroot/sysom Cloning into '/var/lib/mock/dist-an23-build-204205-61072/root/chroot_tmpdir/scmroot/sysom'... $ git reset --hard 40258bff30edb0df67909323f53e510a639a15dc HEAD is now at 40258bf update the source code