Saturday, May 11, 2013

git store password

To make git store your password, simply type

"git config credential.helper store"

to store it locally (for just the current repo), type

"git config --local credential.helper store"

Next time you push to the repo, git will store your password permanently.

Friday, May 3, 2013

Speeding up my build with gradle and some paralell magic

Just posting the results here, will get back to the details and some explanation in a later post.

Multi-module java project, 10 sub-modules, about 10k(?) unit-tests.

mvn clean install:  Total time: 3:52.082s ~ 232 secs
gradle clean build: Total time: 3 mins 20.987 secs
gradle clean build: Total time: 2 mins 17.648 secs (module parallel)
gradle clean build: Total time: 2 mins 0.58 secs ~ 120 secs ( module parallell, 2 threads)
gradle clean build: Total time: 2 mins 26.935 secs ( module parallell, 3 threads)