quizzn
Discover Groups Sign up Log in
Home › Technology › Git commands

Discard all changes and get original rep

  • Answer

    git fetch
    git reset --hard origin/master

This question is one of 16 in Git commands. Test yourself on all of them.

Practice quiz Flashcards

Log in to add an explanation.

Report a problem

Advertisement

More from Git commands

  • Add, remove and move file
  • Review history
  • Tag a commit
  • List all branches
  • Merge branches
  • Clone
  • Update repository
  • git commit
All 16 questions →

Advertisement

© 2026 Quadrupley Inc. About Blog Feedback Privacy Terms