This happens to me more often than I think I would like to admit. With the following two git tricks, you can always figure out exactly where the change is your are looking for.
The first command does two things.
- expands a listing of all the commits using `git rev-list --all`
- greps across those commits for the pattern.
The second command identifies which branch(es) the commit resides in.
It's these simple things that make me really love git.
No comments:
Post a Comment