Create a repository on Git

Not using ssl, just username/password

$ cd chef-repo

 

$ git init

$ git add .

$ git commit -m “First chef repo”

$ git config –global user.name “My Name”

$ git config –global user.email my.email

$ git remote add origin https://github.com/mygitname/MyRepositoryName.git

$ git push -u origin master

 

We can now see all our chef-repo files in git.

 

 

Â