Skip to content

Commit 63720f2

Browse files
authored
Merge pull request #5246 from bmcelvee/PR5146-Follow-up
PR5146-Follow-up Minor Edits
2 parents 6bc091a + 1e38d97 commit 63720f2

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

dev_guide/application_lifecycle/new_app.adoc

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,28 +43,23 @@ xref:../builds/build_inputs.adoc#binary-source[binary build].
4343

4444
To create an application using a remote Git repository:
4545

46-
====
4746
----
4847
$ oc new-app https://github.com/openshift/cakephp-ex
4948
----
50-
====
5149

5250
To create an application using a private remote Git repository:
5351

54-
====
5552
----
5653
$ oc new-app https://github.com/youruser/yourprivaterepo --source-secret=yoursecret
5754
----
58-
====
5955

6056
[NOTE]
6157
====
62-
If using a private remote Git repository, you can use the --source-secret flag to
63-
specify an existing [source clone secret](https://docs.openshift.org/latest/dev_guide/builds/build_inputs.html#source-clone-secrets)
64-
that will get injected into your build config to use to access the repository.
58+
If using a private remote Git repository, you can use the `--source-secret` flag to
59+
specify an existing xref:../dev_guide/builds/build_inputs.adoc#source-clone-secrets[source clone secret]
60+
that will get injected into your `BuildConfig` to access the repository.
6561
====
6662

67-
6863
You can use a subdirectory of your source code repository by specifying a
6964
`--context-dir` flag. To create an application using a remote Git repository and a context subdirectory:
7065

0 commit comments

Comments
 (0)