I have created and checked out branch test1. i did some changes and commited. assume test1 branch having three commits. now i am creating branch called test2 (test1 is not pushed to central server) and push test2 to central server. as per the below link i am getting all the three commits. but when i push test1 to central server, not listing the three commits.
i want the three commits listed during test1 branch push operation. how do i get it?
How to get a list of incoming commits on git push for a new branch in a hook