Como descobrir quais commit alteram um arquivo

Hoje precisei listar quais commits alteravam um determinado arquivo. Realmente com o git as coisas se tornam bem mais simples:

$ git log --raw --abbrev=40 --pretty=oneline | grep -B 1 `git hash-object external/wpa_supplicant/Android.mk`

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s