You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 29, 2018. It is now read-only.
Because I pushed my pre-existing git repo, I often get the You must specify an application with -a, or run this command from within Git directory cloned from OpenShift. message, which got me thinking that it's possible to guess the app name in a number of ways. Here are a few possibilities:
from the dir name (whether current or nearest) -- the dir containing the app is usually named, I suppose, either exactly the same or else appname.tld / appname.domain.tld
an "openshift" remote of the nearest git repo
a matching project name coming from a file such as package.json
If there is nothing that can be matched by convention, then one could set the app name via configuration, a .rhc-rc or whatever you prefer. A configuration file would of-course take precedence over guessing, and an explicit app name via the cli would probably take precedence over the nearest config.
Any of this would make rhc so much more joy to use.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Because I pushed my pre-existing git repo, I often get the
You must specify an application with -a, or run this command from within Git directory cloned from OpenShift.
message, which got me thinking that it's possible to guess the app name in a number of ways. Here are a few possibilities:package.json
If there is nothing that can be matched by convention, then one could set the app name via configuration, a
.rhc-rc
or whatever you prefer. A configuration file would of-course take precedence over guessing, and an explicit app name via the cli would probably take precedence over the nearest config.Any of this would make
rhc
so much more joy to use.The text was updated successfully, but these errors were encountered: