Skip to content

Git Recovering From Common Mistakes vs Regex Patterns Every Developer Should Know

Compare these two topics side by side to decide which to study first — or tackle both!

💻

Git Recovering From Common Mistakes

Programming

105

Cards

~53m

Study time

Advanced

Difficulty

Sample questions

  • Undo the last commit but keep changes staged.
  • Undo the last commit AND discard changes.
  • Undo the last commit but keep changes unstaged in the working tree.
  • Amend the last commit message.
  • Amend the last commit to include forgotten files.
Study Git Recovering From Common Mistakes →
💻

Regex Patterns Every Developer Should Know

Programming

120

Cards

~60m

Study time

Advanced

Difficulty

Sample questions

  • What does the regex metacharacter <code>.</code> match by default?
  • Which character class matches any single digit in most regex flavors?
  • What does the shorthand <code>\w</code> match?
  • What does the shorthand <code>\s</code> match?
  • How do you match a literal dot in a regex?
Study Regex Patterns Every Developer Should Know →

🤔 Which should you study first?

Both topics are in the Programming category, so they complement each other well. We suggest starting with the smaller deck to build momentum:

Git Recovering From Common Mistakes

105 cards · ~53 min · Advanced

⭐ Quicker to complete

Regex Patterns Every Developer Should Know

120 cards · ~60 min · Advanced

📊 More comparisons