$ git clone -n https://gitee.com/wb-qtt862918/libestr.git /var/lib/mock/dist-an8.7-build-254330-62522/root/chroot_tmpdir/scmroot/libestr Cloning into '/var/lib/mock/dist-an8.7-build-254330-62522/root/chroot_tmpdir/scmroot/libestr'... $ git reset --hard 6a65bd2ef99e13d7a271e9b4bf280e70466f3680 HEAD is now at 6a65bd2 change spec file format