$ git clone -n https://gitee.com/xzyang-anolis/freetds.git /var/lib/mock/dist-an23-dde-build-341579-69891/root/chroot_tmpdir/scmroot/freetds Cloning into '/var/lib/mock/dist-an23-dde-build-341579-69891/root/chroot_tmpdir/scmroot/freetds'... $ git reset --hard f79075e3d113b98db744de71e71c028c18375170 HEAD is now at f79075e fix spec file