GitHub - applehan/Week-1: In class exercises for Week 1.
Week 1: Github and Review
Using Github
- Create a github account
- Create a new repository
- Make a new file locally
- Initialize git repo locally
- Set remote to github repo
- Add file to repo
- Commit the changes
- Push the commits
- View code online
Fork this project
- Fork this repository
- Clone your fork
- Fix a bug
- Commit the fix
- Push the commit
- Submit a pull request
Use Github Pages
- Check out this explaination
- Create a new branch for your project locally called
gh-pages
- Push that branch to github
- Go to your-github-name.github.io/your-project-name
- See if it works
- Rejoice
Bonus: Work with someone else
- Fork their repo from the first part
- Make a change
- Submit a pull request to them
- Get them to accept it