$ git clone -n https://gitee.com/happy_orange/dragonwell11.git /var/lib/mock/dist-an23-build-88890-45182/root/chroot_tmpdir/scmroot/dragonwell11 Cloning into '/var/lib/mock/dist-an23-build-88890-45182/root/chroot_tmpdir/scmroot/dragonwell11'... $ git reset --hard origin/17 HEAD is now at ac9a2da update spec