$ git clone -n https://gitee.com/dian-ws/libserf.git /var/lib/mock/dist-an23-build-233142-62650/root/chroot_tmpdir/scmroot/libserf Cloning into '/var/lib/mock/dist-an23-build-233142-62650/root/chroot_tmpdir/scmroot/libserf'... $ git reset --hard 168f8c6c6aea34d99e126ac428d8012a7d4c1a93 HEAD is now at 168f8c6 optimize the spec file