I have a git subtree my-subtree
in my main repo my-repo
that links to a remote repo.
I made a commit to files belonging to my-subtree
in my-repo
.
Then I wanted to push these changes back to the remote repo so I ran this command
git subtree push --prefix=remote_repos/my-subtree --squash git@github.com:my-userame/my-subtree master
It pushed the changes fine but the git commit message was lost! And I got this message instead
Merge commit '64cda2e4fd5e166e79cfc8e3c1edffa3fae40308'
How can I get my original git message into the remote repo when I perform the git subtree push
? sintead of getting Merge commit
message?