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