Pages

Friday, October 3, 2014

Git branches I checked-out on a specific date

$ git reflog --date=local | grep "Oct 2 .* checkout: moving from .* to" | grep -o "[a-zA-Z0-9\-]*$" | sort | uniq

Replace "Oct 2" in the first grep pattern to be the date to view branch work from




commandlinefu.com


by David Winterbottom (codeinthehole.com)






from All commands http://ift.tt/1vk0BdK

No comments:

Post a Comment