$ git clone -n https://gitee.com/happy_orange/star.git /var/lib/mock/dist-an23-build-91829-45381/root/chroot_tmpdir/scmroot/star Cloning into '/var/lib/mock/dist-an23-build-91829-45381/root/chroot_tmpdir/scmroot/star'... $ git reset --hard origin/master HEAD is now at 2593a2d change to java 1.8.0