L18 – Adding chef-repo to Git
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.
Â
Â
Â
Discussion ¬