I have performed the steps below, but when I compare the develop
branch with the feature
branch I see two commit messages instead of only just 1 commit that I expect to see. One is the previous commit which is already in develop
and the other us the latest commit I made in the feature
branch.
- I have pulled and merged the local
develop
branch from a remote branch - Then have created a new branch off of
develop
- Made changes and added those files and
git commit -m "latest changes"
in thefeature
branch - Performed
git push
to push thefeature
branch to the remote branch - When I compared
develop
tofeature
, I see two commits instead of just one (the one I created in thefeature
branch)
Why is this happening and how can I resolve this issue?