$ git clone -n https://gitee.com/chen_yu_ao/iniparser.git /var/lib/mock/dist-an23-build-251894-63450/root/chroot_tmpdir/scmroot/iniparser Cloning into '/var/lib/mock/dist-an23-build-251894-63450/root/chroot_tmpdir/scmroot/iniparser'... $ git reset --hard ebd01e7e72dd1535a22bb54a8d9ec29d8fc850bb HEAD is now at ebd01e7 change spec file format