$ git clone -n https://gitee.com/happy_orange/mock.git /var/lib/mock/dist-an23-build-256449-63706/root/chroot_tmpdir/scmroot/mock Cloning into '/var/lib/mock/dist-an23-build-256449-63706/root/chroot_tmpdir/scmroot/mock'... $ git reset --hard 5dcd70cf13e87351de12626b04fcd08d0e04be41 HEAD is now at 5dcd70c change the cfg files