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 Feb 12, 2022. It is now read-only.
Today, I created an application via the web-interface and tried adding the remote for that in the directory I was working in.
I don't do this generally but I forgot to do git-init in that directory and when I attempted the command heroku git:remote -a <application>, the result was nothing.
It assumes that the directory has git initialized already. And doesn't takes care of the error fatal: Not a git repository (or any of the parent directories): .git returned by git.
Hi there,
Today, I created an application via the web-interface and tried adding the remote for that in the directory I was working in.
I don't do this generally but I forgot to do
git-init
in that directory and when I attempted the commandheroku git:remote -a <application>
, the result was nothing.It assumes that the directory has git initialized already. And doesn't takes care of the error
fatal: Not a git repository (or any of the parent directories): .git
returned by git.https://github.com/heroku/heroku/blob/master/lib/heroku/command/git.rb#L47-L59
The text was updated successfully, but these errors were encountered: