$ git clone -n https://gitee.com/happy_orange/anolis-release_1.git /var/lib/mock/dist-an23-build-281402-64677/root/chroot_tmpdir/scmroot/anolis-release_1 Cloning into '/var/lib/mock/dist-an23-build-281402-64677/root/chroot_tmpdir/scmroot/anolis-release_1'... $ git reset --hard abc3d5ef37f3095c2e8c9b1915233d68e12f2413 HEAD is now at abc3d5e change the official repo address $ git lfs pull