$ git clone -n https://gitee.com/mgb01105731/maven-enforcer.git /var/lib/mock/dist-an23-build-262110-63899/root/chroot_tmpdir/scmroot/maven-enforcer Cloning into '/var/lib/mock/dist-an23-build-262110-63899/root/chroot_tmpdir/scmroot/maven-enforcer'... $ git reset --hard origin/a23 HEAD is now at c3300fd init upstream from version 3.0.0