DEV Community

Discussion on: Git: Cheat Sheet (advanced)

Collapse
 
phpcoder profile image
Slava Semushin • Edited

Thanks for sharing this!

And then tests are failing and you want to identify the "guilty commit". You can use rebase --exec to execute a command on each commit of the history.

When there a lot of commits it might take too much time. In such cases, git bisect comes to the rescue -- instead of executing a command on all commits it uses binary search to identify the first commit that breaks everything.

useful for daily stand-up

git-standup() {

Perhaps, you might find this project useful: github.com/kamranahmedse/git-standup

Collapse
 
maxpou profile image
Maxence Poutord

Agree, bisect is the key when we have too many commits!

About git-standup, I don't really need it. I'm happy with my simple alias. I also grep a lot my git log :)
But, thanks for sharing! Someone else might found it handy!!!