$ git clone -n https://gitee.com/mgb01105731/buildnumber-maven-plugin.git /var/lib/mock/dist-an23-build-267712-64102/root/chroot_tmpdir/scmroot/buildnumber-maven-plugin Cloning into '/var/lib/mock/dist-an23-build-267712-64102/root/chroot_tmpdir/scmroot/buildnumber-maven-plugin'... $ git reset --hard origin/a23 HEAD is now at a56a84b init upstream from version 1.2