benthayer / git-gud

Wanna git gud? Then get git-gud, and git gud at git!
MIT License
401 stars 42 forks source link

An Easy Level #273

Closed benthayer closed 3 years ago

benthayer commented 3 years ago

Fixes #260

Still need to update the solution message

@sahansk2 Can you check on this? It wasn't too hard to develop, but the explanation could definitely be better. I think this would be a perfect use case for a more dynamic git gud explain

The current explanation tries to answer these questions (not actually the last one), but it's somewhat long and could be shortened down into smaller chunks

  1. Why does the status message show git log with the --reversed flag?
  2. What does it mean when you change the order of the commits?
  3. How does git rebase actually change the order?
  4. How do I solve the level? What does the solution mean?
sahansk2 commented 3 years ago

@benthayer Just got the memo, I'll try to look this over by tomorrow evening.

sahansk2 commented 3 years ago

@benthayer Just @ me again when/if you want me to look over this again :^)

benthayer commented 3 years ago

@sahansk2 I updated a few things, but I also shortened the explanation quite a bit. Do you think it should be this short, or do you think I should use content from the version that you reviewed?