$ git clone -n https://gitee.com/carlo_bai/libyaml.git /var/lib/mock/dist-an23-build-230253-62482/root/chroot_tmpdir/scmroot/libyaml Cloning into '/var/lib/mock/dist-an23-build-230253-62482/root/chroot_tmpdir/scmroot/libyaml'... $ git reset --hard 38616f4f58b4a286084bece57c55b53fe7dcdcf8 HEAD is now at 38616f4 optimize spec