$ git clone -n https://gitee.com/src-anolis-os/ecj.git /var/lib/mock/dist-an8.6-build-91521-45350/root/chroot_tmpdir/scmroot/ecj Cloning into '/var/lib/mock/dist-an8.6-build-91521-45350/root/chroot_tmpdir/scmroot/ecj'... $ git reset --hard 50aff303e534076e48437ad2f5c147247bb00ee4 HEAD is now at 50aff30 import ecj-4.5.2-3.el7.src.rpm