Automated Version Control
|
|
Setting Up Git
|
Use git config to configure a user name, email address, editor, and other preferences once per machine.
|
Creating a Repository
|
|
Tracking Changes
|
git status shows the status of a repository.
Files can be stored in a project’s working directory (which users see), the staging area (where the next commit is being built up) and the local repository (where commits are permanently recorded).
git add puts files in the staging area.
git commit saves the staged content as a new commit in the local repository.
Always write a log message when committing changes.
|
Exploring History
|
|
Remotes in GitHub
|
A local Git repository can be connected to one or more remote repositories.
Use the HTTPS protocol to connect to remote repositories until you have learned how to set up SSH.
git push copies changes from a local repository to a remote repository.
git pull copies changes from a remote repository to a local repository.
|
Introduction to GitHub Pages
|
GitHub is a code hosting platform for version control and collaboration.
GitHub pages is a static site hosting services that hosts sites directly from a GitHub repo.
Jekyll Now is a static site generator that can be used through the command line.
|
Personalizing the Jekyll Now Template
|
|
Editing your Website from within GitHub
|
|