$ git clone -n https://gitee.com/mgb01105731/lshw.git /var/lib/mock/dist-an23-build-117247-45904/root/chroot_tmpdir/scmroot/lshw Cloning into '/var/lib/mock/dist-an23-build-117247-45904/root/chroot_tmpdir/scmroot/lshw'... $ git reset --hard 1b0a341eaaa1fb0557ac03f7930297fae0577e1c HEAD is now at 1b0a341 update lshw