Skip to content

Github exercise from Colt's Steele Git & Github Bootcamp.

Notifications You must be signed in to change notification settings

Harshitv21/Github-Basics-Exercise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Github Basics Exercise

  1. Create a new repository locally on your machine.
  2. Create a new Github repository. Name it whatever you want.
  3. Connect your local repo to the Github repo.
  4. Optional: rename the default branch from master to main.
  5. Make a new file called favorites.txt Leave it empty. Make your first commit on the main branch.
  6. Push up your main branch to Github! Make sure you see your empty favorites.txt file on Github.
  7. Next, create two branches: foods and movies
  8. Switch to the foods branch. Add three (or more) of your favorite foods to the favorites.txt file. Add and commit your changes on the foods branch.
  9. Switch to the movies branch and add three or more of your favorite movies to the favorites.txt file. Add and commit your changes on the movies branch.
  10. Push up your foods branch to Github. Make sure you see it on Github!
  11. Push up your movies branch to Github. Make sure you see it on Github!
  12. Merge the foods branch into the main branch. Then merge the movies branch into the main branch. If necessary, resolve conflicts so that you end up with your favorite foods and favorite movies in the same favorites.txt file.
  13. Push up the latest work on your main branch to Github.

Link of notion page for this exercise.


About

Github exercise from Colt's Steele Git & Github Bootcamp.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published