[Bioc-devel] EXTERNAL: Git push error and duplicate commits

Turaga, Nitesh Nitesh.Turaga at RoswellPark.org
Fri Oct 13 20:18:35 CEST 2017


Hi Matthew,

I’ll have to fix your branch again, for this I need some time. Do not push any more changes. 

*When you pull from the upstream (git at git.bioconductor.org), you are not supposed to get any duplicate commits.* 

If a merge is giving you duplicate commits, it means that you didn’t switch your master branch out. Or forgot to checkout the non-duplicate master.

Best,

Nitesh 



> On Oct 13, 2017, at 2:13 PM, Matthew Myint <matthewmyint1993 at gmail.com> wrote:
> 
> Hi,
> 
> After you helped me fix my repository, whenever I had updates I would use the steps from https://master.bioconductor.org/developers/how-to/git/push-to-github-bioc/
> 
>  1) note down what files needed to be updated in the repository
> 
> 2) pull from upstream and merge to local branch https://master.bioconductor.org/developers/how-to/git/pull-upstream-changes/
> 
> 3) update the needed files in the repository and commit
> 
> 4) push to both origin and upstream
> 
> Also, just to clarify, the branch pushing I was referring to was the “switcheroo” in the link https://github.com/Bioconductor/bioc_git_transition/blob/master/doc/scenario-6-abandon-changes.md
> 
> Thanks and regards
> Matthew 
> Sent from my iPhone
> 
> On 13 Oct 2017, at 22:35, Turaga, Nitesh <Nitesh.Turaga at RoswellPark.org> wrote:
> 
>> Hi Matthew,
>> 
>> I remember fixing this repository for you a few weeks ago. 
>> 
>> You cannot push branches to the Bioconductor repository, that is in the FAQ, and documentation.
>> 
>> Can you tell me what exactly are the steps you are trying that, you are getting duplicate commits again?
>> 
>> Best,
>> 
>> Nitesh 
>> 
>>> On Oct 13, 2017, at 3:39 AM, Matthew Myint <matthewmyint1993 at gmail.com> wrote:
>>> 
>>> Hi,
>>> 
>>> Recently I noticed in hindsight that my repository had duplicate
>>> commits, but I missed this during my normal package updating
>>> procedures.
>>> 
>>> It was odd that the hook didn't reject these, so I made a clean branch
>>> from a commit before the problem occurred and cherry-picking commits
>>> to the present state. However, trying to push this to bioconductor git
>>> returned an error
>>> 
>>>> remote: FATAL: + refs/heads/master packages/cytofkit c.hao DENIED by fallthru
>>>> remote: error: hook declined to update refs/heads/master
>>>> To git.bioconductor.org:packages/cytofkit.git
>>>> ! [remote rejected] master -> master (hook declined)
>>>> error: failed to push some refs to 'git at git.bioconductor.org:packages/cytofkit.git'
>>> 
>>> I've kept the original backed up, and here is the clean branch and
>>> back up branch for reference.
>>> 
>>> Here is the link to my repo for additional reference
>>> https://github.com/JinmiaoChenLab/cytofkit
>>> https://github.com/JinmiaoChenLab/cytofkit/network (network display
>>> for easy visualisation)
>>> 
>>> Sorry for the hassle
>>> 
>>> Regards
>>> Matthew Myint
>>> Life Science Undergraduate, Year 4
>>> NUS
>>> 
>>> _______________________________________________
>>> Bioc-devel at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/bioc-devel
>> 
>> 
>> 
>> 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.



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.


More information about the Bioc-devel mailing list