String getCommand()

in src/main/java/com/googlesource/gerrit/plugins/download/command/BranchCommand.java [35:43]


  String getCommand(String url, String ref, String id) {
    return "git fetch "
        + QuoteUtil.quote(url)
        + " "
        + ref
        + " && git checkout -b change-"
        + id.replaceAll("/", "-")
        + " FETCH_HEAD";
  }