benthayer / git-gud

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

Level: Rewriting History 7 - "The Truth" #262

Open benthayer opened 4 years ago

benthayer commented 4 years ago

This would be the same as level 6 "An Easy Level" #260 , but you have to make the changes manually instead of doing git rebase -i

The "truth" is that rebasing is really just checking out the branch or commit, then cherrypicking

Make the log messages form the sentence "This is an easy level"

git gud status

======= Simulating: git log --oneline --reverse
This
easy
an
is
level
<<<<<<<

git gud status (after interactive rebase)

======= Simulating: git log --oneline --reverse
This
is
an
easy
level
<<<<<<<