user831098
user831098

Reputation: 1823

Create new environment from terminal - hit error: git could not find the HEAD

When I want to create environment for Elastic Beanstalk. (eb create new-dev-env) I hit error as below:

ERROR: git could not find the HEAD; most likely because there are no commits present

How to solve this problem?

Upvotes: 1

Views: 1004

Answers (1)

user831098
user831098

Reputation: 1823

Ok, I get the answer. Just need to commit the code in local repository. Then it will create the git head.

After that, I can create the environment

Upvotes: 1

Related Questions