$ git clone -n https://gitee.com/mgb01105731/maven-resolver.git /var/lib/mock/dist-an23-build-254898-63607/root/chroot_tmpdir/scmroot/maven-resolver Cloning into '/var/lib/mock/dist-an23-build-254898-63607/root/chroot_tmpdir/scmroot/maven-resolver'... $ git reset --hard origin/a23 HEAD is now at 3b7997a provide mvn file and http