I have 2 commits on master branch. Lets say Commit A Commit B Commit C All the above changes are already pushed to remote.
I rebased and merged commits A and B to create commit AB. So master branch log says Commit AB Commit C
git push give me error "changes rejected". I have an option of using git push --force. But I am skeptical in using that. If I push above "Commit AB" changes to remote, will it cause any problems?