$ git clone -n https://gitee.com/happy_orange/lua-posix.git /var/lib/mock/dist-an23-build-329016-69136/root/chroot_tmpdir/scmroot/lua-posix Cloning into '/var/lib/mock/dist-an23-build-329016-69136/root/chroot_tmpdir/scmroot/lua-posix'... $ git reset --hard 97957017b941dd3601a0d25082a93f831b382ee4 HEAD is now at 9795701 remove the old package