File tree 1 file changed +3
-8
lines changed
dev_guide/application_lifecycle
1 file changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -43,28 +43,23 @@ xref:../builds/build_inputs.adoc#binary-source[binary build].
43
43
44
44
To create an application using a remote Git repository:
45
45
46
- ====
47
46
----
48
47
$ oc new-app https://github.com/openshift/cakephp-ex
49
48
----
50
- ====
51
49
52
50
To create an application using a private remote Git repository:
53
51
54
- ====
55
52
----
56
53
$ oc new-app https://github.com/youruser/yourprivaterepo --source-secret=yoursecret
57
54
----
58
- ====
59
55
60
56
[NOTE]
61
57
====
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.
65
61
====
66
62
67
-
68
63
You can use a subdirectory of your source code repository by specifying a
69
64
`--context-dir` flag. To create an application using a remote Git repository and a context subdirectory:
70
65
You can’t perform that action at this time.
0 commit comments