$ git clone -n https://gitee.com/src-openeuler/httpd.git /var/lib/mock/dist-an7_9-updates-build-301040-65941/root/chroot_tmpdir/scmroot/httpd Cloning into '/var/lib/mock/dist-an7_9-updates-build-301040-65941/root/chroot_tmpdir/scmroot/httpd'... $ git reset --hard 9247758744d0a20be0de43283f8823d7ddb68373 HEAD is now at 9247758 !158 fix memory leak in calc_sha256_hash