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