Skip to content

[Bioc-devel] Duplicate commit error when pushing to annotatr upstream/master

3 messages · Raymond Cavalcante, Turaga, Nitesh

#
Hello,

I?m running into the following error when trying to push some changes to annotatr upstream/master:
The two commits that are highlighted in the error message are "bump x.y.z versions to odd y after creation of 3_5 branch" commits. I was always confused about the git-svn bridge, but these twin commits are an artifact of that system, I think. The commit that I was trying to push to upstream/master is unrelated to those two commits, and I have committed other items in the new git way prior to the 3.6 release with no issue.

I tried the suggested solution (https://bioconductor.org/developers/how-to/git/abandon-changes/#force-bioconductor--to-github- <https://bioconductor.org/developers/how-to/git/abandon-changes/#force-bioconductor--to-github->), but there is a note "This works only if you haven?t pushed the change causing the issue to the Bioconductor repository." I fall into this case.

If anyone has any suggestions for how to deal with this, I would appreciate the help. If more information is required, please say so.

Thanks,
Raymond Cavalcante
#
Hi Raymond,

I?m trying to figure out why your problem was caused. The duplicates are coming from this commit (ea6c6421b074dbc9411bd6d00547b90bb6168d31), which is a merge. But I?m what I?m trying to figure out is how you?ve been able to push with duplicate commits after that merge.

Please give me sometime.

I will get back to you.

Best,

Nitesh
This email message may contain legally privileged and/or confidential information.  If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited.  If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.
7 days later
#
Hi Raymond,

I have fixed your repository on Bioconductor, and you are able to push changes again. 

Duplicate commits are caused because of ?merge? commits from remotes. Please make sure that before you push from hence forth, or merge, that the duplicate commit issue doesn?t reoccur.


Best,

Nitesh
This email message may contain legally privileged and/or confidential information.  If you are not the intended recipient(s), or the employee or agent responsible for the delivery of this message to the intended recipient(s), you are hereby notified that any disclosure, copying, distribution, or use of this email message is prohibited.  If you have received this message in error, please notify the sender immediately by e-mail and delete this email message from your computer. Thank you.