$ git clone -n https://gitee.com/happy_orange/dragonwell11.git /var/lib/mock/dist-an23-build-88848-45182/root/chroot_tmpdir/scmroot/dragonwell11 Cloning into '/var/lib/mock/dist-an23-build-88848-45182/root/chroot_tmpdir/scmroot/dragonwell11'... $ git reset --hard origin/master HEAD is now at 4a5d6a1 update to 11.0.15