$ git clone -n https://gitee.com/dengxiewei/lua-socket.git /var/lib/mock/dist-an8.6-build-103871-45598/root/chroot_tmpdir/scmroot/lua-socket Cloning into '/var/lib/mock/dist-an8.6-build-103871-45598/root/chroot_tmpdir/scmroot/lua-socket'... $ git reset --hard f89d0657af3a0f0849505736bab95300743a4a40 HEAD is now at f89d065 Add doc sub package