$ git clone -n https://gitee.com/lxpzlm/cloud-init.git /var/lib/mock/dist-an8.6-build-131109-46203/root/chroot_tmpdir/scmroot/cloud-init Cloning into '/var/lib/mock/dist-an8.6-build-131109-46203/root/chroot_tmpdir/scmroot/cloud-init'... $ git reset --hard origin/a8 HEAD is now at 5c1b749 Modify the default configuration of ecs