Skip to content

librarywebchic/gitPractice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published