text: public RebaseCommand setUpstreamName(String upstreamName) {if (upstreamCommit == null) {throw new IllegalStateException("setUpstreamName must be called after setUpstream."); }this.upstreamCommitName = upstreamName;return this;}