Skip to content

Latest commit

 

History

History
37 lines (35 loc) · 805 Bytes

File metadata and controls

37 lines (35 loc) · 805 Bytes

gitPractice

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