$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/dragonwell-rpm/dragonwell11.git /var/lib/mock/dist-an8-plus-build-18827-8176/root/chroot_tmpdir/scmroot/dragonwell11 Cloning into '/var/lib/mock/dist-an8-plus-build-18827-8176/root/chroot_tmpdir/scmroot/dragonwell11'... $ git reset --hard origin/master HEAD is now at 66e8a11 update dragonwell name