I'm using Git versioning in NetBeans 7.2.1 with a GitHub repository. If I commit my changes and then I push it to the remote repository immediately after commit (suppose the remote version has not changed since my last push), my commit message appears on GitHub. When other collaborators do a pull, my commit message appears in their pull summary.
But the problem is that if I have to make a pull before my push (if the remote version has changed since my last push), then somehow my commit message gets overwritten by "Merge branch 'master' of https://github.com/...". Its very annoying. ow can I keep my original commit in this case?
Thanks!