$ whoami root $ git clone -n http://8.131.229.236/anolis-os/redis /var/lib/mock/module-redis-20-8020020210223171843-ff983833-build-7885-831/root/chroot_tmpdir/scmroot/redis Cloning into '/var/lib/mock/module-redis-20-8020020210223171843-ff983833-build-7885-831/root/chroot_tmpdir/scmroot/redis'... $ git reset --hard 2f3e6e4343d77588b8fa6197e41476f30e75b385 HEAD is now at 2f3e6e4 update for test