On my local repo I have commits 1 through 110. The remote repo starts out at 1 - 109. In the intervening time, another person on the team pushed a commit to remote. Now 1-110 also. Pushing my local branch to github gets:
failed to push some refs to 'https://github.com/theProject.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally.
So, I addressed the issue of commit 110 in an equivalent manner in my local commit (110) Therefore, I should want to push as if the remote 110 never was appended. Can I delete the commit on github to avoid collision? Or is there a way that git handles this more gracefully?