- Clone this repo
git clone https://<username>:<token>@github.com/librarywebchic/gitPractice
- Change into directory
cd gitPractice
- Create a new branch based on main
git branch firstLesson
git checkout firstLesson
- Make a new Markdown file named learningGit.md
- Add some text to learningGit.md
- "Stage" your change
git add learningGit.md
- Commit your change
git commit -m "See I know how use git"
- Push your change
git push --set-upstream origin firstLesson
- Wait for instructor to message you
- Pull changes your instructor made to main branch
- Get into your project directory
git pull origin main --no-rebase
- Commit changes to your branch - firstLesson