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