Git-lesson-101
Introductory class about Git and GitHub.Training to introduce the cohort on how to push from their local environment to github
Downloaded Gitbash (https://git-scm.com/downloads)
- git config –global user.name “name”
- git config –global user.email “email”
- mkdir website
- cd website
- git init
- touch index.html
Clone your github repo
- git remote add origin
(this should be the url from your created repo-use https)
Push to GitHub
- git add index.html
- git commit -m “Create index.html”
- git push origin master