#Title: Git Lab
###Type:
- Lab
###Time Required:
- Afternoon
###Prerequisites:
- Linux
- Bash
###Objectives:
- Practice using GIT and Github.
###Activity:
- Create a directory ga-git-yourgithubname-lab
- Change into this directory.
- Create a file github_cheat.md
- git init, add and commit this file.
- Add a description of three ways to use the git log command into this file.
- git add and commit.
- git status
- git log
- Create a new branch named more-commands
- Change to this branch.
- Add two ways to use the git status command.
- git add and commit.
- Merge this more-commands branch into the master branch.
- View all the remotes in verbose mode.
- Create a github account and push this local repo ga-git-yourgithubname-lab.
- Diff the master branch with more-commands branch.
- Add two ways to use the git diff command.
- git add and commit.
- Diff the master branch with more-commands branch.
- Change to the more-commands branch
- Rebase more-commands from the master branch
- Create a remote tracking branch of the more-commands branch.
- Fork this repo. (github.com/tdyer/ga-git-lab).
- Create a directory named TomRepo and change into this directory.
- Clone this repo into the TomRepo directory.
- Add another entry to in the github_cheat.md to describe git clone.
Install SourceTree and redo the above.
- Remove directory ga-git--lab.
- Do all the above steps before the Fork this repo from me step above.