$ git clone -n https://gitee.com/src-opencloudos-rpms/ecj.git /var/lib/mock/dist-oc8-build-38650-12603/root/chroot_tmpdir/scmroot/ecj Cloning into '/var/lib/mock/dist-oc8-build-38650-12603/root/chroot_tmpdir/scmroot/ecj'... $ git reset --hard origin/oc8 HEAD is now at ba1b215 import ecj-4.20-10.tl3