code: def add_parser(experiments_subparsers, parent_parser):
      from . import add_rev_selection_flags
  
      EXPERIMENTS_PUSH_HELP = "Push a local experiment to a Git remote."
      experiments_push_parser = experiments_subparsers.add_parser(
          "push",
          parents=[parent_parser],
          description=append_doc_link(
              EXPERIMENTS_PUSH_HELP, "exp/push"
          ),
          help=EXPERIMENTS_PUSH_HELP,
          formatter_class=formatter.RawDescriptionHelpFormatter,
      )
      add_rev_selection_flags(experiments_push_parser, "Push", True)
      experiments_push_parser.add_argument(
          "-f",
          "--force",
          action="store_true",
          help="Replace experiment in the Git remote if it already exists.",
      )
      experiments_push_parser.add_argument(
          "--no-cache",
          action="store_false",
          dest="push_cache",
          help="Do not push cached outputs for this experiment to DVC remote storage.",
      )
      experiments_push_parser.add_argument(
          "-r",
          "--remote",
          dest="dvc_remote",
          metavar="<name>",
          help="Name of the DVC remote to use when pushing cached outputs.",
      )
      experiments_push_parser.add_argument(
          "-j",
          "--jobs",
          type=int,
          metavar="<number>",
          help="Number of jobs to run simultaneously when pushing to DVC remote storage.",
      )
      experiments_push_parser.add_argument(
          "--run-cache",
          action="store_true",
          default=False,
          help="Push run history for all stages.",
      )
      experiments_push_parser.add_argument(
          "git_remote",
          help="Git remote name or Git URL.",
          metavar="<git_remote>",
      )
      experiments_push_parser.add_argument(
          "experiment",
          nargs="*",
          default=None,
          help="Experiments to push.",
          metavar="<experiment>",
      ).complete = completion.EXPERIMENT
      experiments_push_parser.set_defaults(func=CmdExperimentsPush)
  
file_path: dvc/dvc/commands/experiments/push.py
imports: from typing import Any, Dict
  from dvc.cli import completion, formatter
  from dvc.cli.command import CmdBase
  from dvc.cli.utils import append_doc_link
  from dvc.log import logger
  from dvc.ui import ui
label_desc: Use image node_id 1 for calling a global function with example usage: add_parser(experiments_subparsers, parent_parser) without return types