Skip to content

hstatsep-wd/git-revert

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

git-revert

animals.md

  • Task 1: Add another animal to all four lists (anything except a lion).
    • add & commit: add ____
  • Task 2: Get rid of all dog bullet points!
    • add & commit: remove dog
  • Task 3: Change fish bullet points to lion bullet points.
    • add & commit: change fish to lion

Use git revert ___ (see notes for specific command) to bring back all of the dog bullet points!


restaurant.html

Imagine if we were working on a website for a restaurant, and we...

  • Add the bare minimum of the whole website with a blue color scheme
    • This part is already done
  • Change the color scheme from blues to greens (CSS and text).
    • Do this, then add+commit
  • Delete all images because they're copyrighted
    • Do this, then add+commit

What if the restaurant owner changes their mind, and wants to turn greens back to blues?

Your Task: use git revert

Undo your commit that changed blues to greens.

This will change them back to blues.

But notice that it preserved our deletion of copyrighted images!

Make sure you push your changes to Github!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages