anchor.diff:  that points to a URL accessible by the {product-title} cluster.
   ====
   
  -.To Create an Application Using the Git Repository at the Current Directory:
  -====
  -----
  -$ oc new-app .
  -----
  -====
  -
  -.To Create an Application Using a Remote Git Repository and a Context Subdirectory:
  +You can use a subdirectory of your source code repository by specifying a
  +`--context-dir` flag. To create an application using a remote Git repository and a context subdirectory:
  +
   ====
   ----
   $ oc new-app https://github.com/openshift/sti-ruby.git \
  
positive.code: 
  == Overview
  
  You can create a new {product-title} application using the
  xref:../architecture/infrastructure_components/web_console.adoc#architecture-infrastructure-components-web-console[web console] or
  by running the `oc new-app` command xref:using-the-cli[from the CLI].
  {product-title} creates a new application by specifying
  xref:specifying-source-code[source code], xref:specifying-an-image[images], or
  xref:specifying-a-template[templates]. The `new-app` command looks for images
  on the local Docker installation (if available), in a
  xref:../architecture/infrastructure_components/image_registry.adoc#architecture-infrastructure-components-image-registry[Docker
  registry], or an {product-title}
  xref:../architecture/core_concepts/builds_and_image_streams.adoc#image-streams[image
  stream].
  
  If you specify source code, `new-app` attempts to construct a
  xref:builds.adoc#defining-a-buildconfig[build configuration] that builds your
  source into a new application
  xref:../architecture/core_concepts/builds_and_image_streams.adoc#image-streams[image].
  It also constructs a
  xref:../architecture/core_concepts/deployments.adoc#deployments-and-deployment-configurations[deployment
  configuration] that deploys that new image, and a
  xref:../architecture/core_concepts/pods_and_services.adoc#services[service] to
  provide load balanced access to the deployment that is running your image.
  
  [NOTE]
  ====
  If you xref:specifying-source-code[specify source code], you may need to
  xref:builds.adoc#starting-a-build[run a build] with `oc start-build` after the
  application is created.
  ====
  
  [[using-the-cli]]
  
  == Using the CLI
  
  You can create a new application using the `oc new-app` command from
  xref:../cli_reference/index.adoc#cli-reference-index[the CLI].
  
  [[specifying-source-code]]
  
  === Specifying Source Code
  
  The `new-app` command allows you to create applications using source code from a
  local or remote Git repository. If only a source repository is specified,
  `new-app` tries to automatically xref:build-strategy-detection[determine] the
  type of
  xref:../architecture/core_concepts/builds_and_image_streams.adoc#builds[build
  strategy] to use (`*Docker*` or `*Source*`), and in the case of `*Source*` type
  builds, xref:language-detection[an appropriate language builder image].
  
  You can tell `new-app` to use a subdirectory of your source code repository by
  specifying a `--context-dir` flag. Also, when specifying a remote URL, you can
  specify a Git reference to use by appending `#[reference]` to the end of the
  URL.
  
  
  [NOTE]
  ====
  
negative.code: ====
  
  To create an application using an image in a private registry, specify the full
  Docker image specification:
  
  ====
  ----
  $ oc new-app myregistry:5000/example/myimage
  