Git: hide commit messages on remote repo

Posted by Sebastian Bechtel on Stack Overflow See other posts from Stack Overflow or by Sebastian Bechtel
Published on 2010-06-09T17:36:59Z Indexed on 2010/06/09 17:42 UTC
Read the original article Hit count: 407

Filed under:

Hi,

I don't know how to bring my problem on the point so I try to explain it a bit ;-)

When working with git on my local maschine I usually commit a lot. For this I use topic branches. Then I merge such a topic branch into a branch called develop which will be pushed to a remote repo.

I always merge with --no-ff so their is always a commit for my whole topic.

Now I'd like to only push this commit with a specified description what I did on the whole in this branch.

I would prefer this because you can look at the commit history on the server and see directly what happend and don't need to read every single commit.

And for my local work I would have the full history if I want to reset my branch or something similar.

I don't know if their is a way to do this in git but it would be very useful for me so I give it a try to ask you ;-)

Best regards, Sebastian

© Stack Overflow or respective owner

Related posts about git