Martin's Tex-Blog

Posts on programming and generally technical topics

Handy stuff

leave a comment »

1. Command to find apk-s in current dir tree and print dates (works under windows bash and linux)

find . -name *.apk -printf "%TY-%Tm-%Td %TH:%TM:%TS %Tz %p\n"

2. git comment to find: all the commits which are present on master but not on develop.

$ git log --left-right --cherry-mark --oneline --pretty="%m, %h, %an, %cr, %s" master...develop

result is in comma delimited format, so it can be imported into spreadsheet. First columnt is < if commit is not present in develop.

Advertisements

Written by Marcin

January 13, 2015 at 12:54 am

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

%d bloggers like this: