$ git clone -n https://gitee.com/happy_orange/mock.git /var/lib/mock/dist-an23-build-256463-63708/root/chroot_tmpdir/scmroot/mock Cloning into '/var/lib/mock/dist-an23-build-256463-63708/root/chroot_tmpdir/scmroot/mock'... $ git reset --hard 1b58c7f2aa8d5a4230eb6333e859a0d7c11c9631 HEAD is now at 1b58c7f change the cfg files