$ git clone -n https://gitee.com/huoyuanhao/httpd.git /var/lib/mock/dist-an8.6-build-110146-45836/root/chroot_tmpdir/scmroot/httpd Cloning into '/var/lib/mock/dist-an8.6-build-110146-45836/root/chroot_tmpdir/scmroot/httpd'... $ git reset --hard eceec9652deb5a8268584034942d45e00e602bd2 HEAD is now at eceec96 init from upstream