Mercurial & Git Client

I just discovered there’s a nice tool developed from Atlassian allowing client access to Git and Mercurial repositories with a nice integration with both Bitbucket and Github, two free source hosting platforms I frequently use.

The tool name is SourceTree, it’s available for free for Windows and MacOS and it looks damn good and complete: it took a while to download all the components on a fresh environment but it seems solving the SCM client problem in a sleek way!

Git and Maven release:prepare

I don’t know if it happens to me only due to my complex source control configuration (which uses SSH keys like Github), but it happens quite often to me that the release process gets stuck right when it’s time to push changes.

When this happens you are left with almost no choice but to perform a release:rollback and start again, but today I’ve found a good solution to this problem: git reset.

So, if your release preparation process is interrupted for some reason and you want to restart it again, but when you try you get a message saying the git commit command failed, then just do the following:

git reset --soft HEAD~1

This command will remove the commit from your local clone leaving all the Maven changes intact, thus allowing you to recover the process where you left it.

Have fun!