C:\OC\openshift-client-windows-4.4.10>oc new-app --name version git@github.com:getposition/DO101-apps.git#update-app --context-dir version
warning: Cannot find git. Ensure that it is installed and in your path. Git is required to work with git repositories.
error: unable to load template file "git@github.com:getposition/DO101-apps.git#update-app": the path "git@github.com:getposition/DO101-apps.git#update-app" cannot be accessed: CreateFile git@github.com:getposition/DO101-apps.git#update-app: The filename, directory name, or volume label syntax is incorrect.
error: git ls-remote failed with: git binary not available; local file access failed with: CreateFile git@github.com:getposition/DO101-apps.git#update-app: The filename, directory name, or volume label syntax is incorrect.
error: unable to locate any images in image streams, templates loaded in accessible projects, template files, local docker images with name "git@github.com:getposition/DO101-apps.git#update-app"
Argument 'git@github.com:getposition/DO101-apps.git#update-app' was classified as an image, image~source, or loaded template reference.
The 'oc new-app' command will match arguments to the following types:
1. Images tagged into image streams in the current project or the 'openshift' project
- if you don't specify a tag, we'll add ':latest'
2. Images in the Docker Hub, on remote registries, or on the local Docker engine
3. Templates in the current project or the 'openshift' project
4. Git repository URLs or local paths that point to Git repositories
--allow-missing-images can be used to point to an image that does not exist yet.
See 'oc new-app -h' for examples.
Hi!
Looks like the "git" binary is not installed on your system, or is not available in your "PATH" environment variable.
Can you please make sure your have Git installed and available?
KR
Jordi Sola
Hi!
Looks like the "git" binary is not installed on your system, or is not available in your "PATH" environment variable.
Can you please make sure your have Git installed and available?
KR
Jordi Sola
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.