$ git clone -n https://gitee.com/ispconfig-cn/getmail.git /var/lib/mock/dist-an8.7-build-241356-62522/root/chroot_tmpdir/scmroot/getmail Cloning into '/var/lib/mock/dist-an8.7-build-241356-62522/root/chroot_tmpdir/scmroot/getmail'... $ git reset --hard b916761e3f806570f3dbc888f8502a7c0a0a3c69 HEAD is now at b916761 update getmail.spec.