Fixed commit behavior

It wasn't commiting the commands
Merge pull request #2 from flaviogranato/master

Fixed commit behavior