[Bioc-devel] Errors updating DaMiRseq package

Turaga, Nitesh Nitesh.Turaga at RoswellPark.org
Fri Sep 22 17:10:17 CEST 2017


http://bioconductor.org/developers/how-to/git/sync-existing-repositories/

This should help you with the issue you are having. Please follow those steps.

Best,

Nitesh


> On Sep 22, 2017, at 11:02 AM, Mattia Chiesa <mattia.chiesa at hotmail.it> wrote:
> 
> Dear all,
> I am the mantainer of the DaMiRseq package. I have some problems with GIT:
> I filled the form for ssh key some weeks ago and I guess everthinks is ok.
> 
> $ git remote -v
> origin  https://github.com/BioinfoMonzino/DaMiRseq.git (fetch)
> origin  https://github.com/BioinfoMonzino/DaMiRseq.git (push)
> upstream        git at git.bioconductor.org:packages/DaMiRseq.git (fetch)
> upstream        git at git.bioconductor.org:packages/DaMiRseq.git (push)
> 
> Now, I want to fix some minor bugs in the package (e.g. some words in the vignette) for the next release.
> Therefore, I performed changes and bumped the version of DESCRIPTION FILE to 1.1.2 (it is 1.1.1 in devel https://www.bioconductor.org/packages/devel/bioc/html/DaMiRseq.html ) and try to update both the Bioconductor and the exixting GitHub repository ( https://github.com/BioinfoMonzino/DaMiRseq )<https://github.com/BioinfoMonzino/DaMiRseq>. So, following the "Scenario 2" for the git transition ( https://github.com/Bioconductor/bioc_git_transition/blob/master/doc/scenario-2-push-to-github-gitbioc.md) I have just run:
> 
> $ git add .
> $ git commit -m  "message for commit"
> $ git push origin master
> 
> Counting objects: 3, done.
> Delta compression using up to 12 threads.
> Compressing objects: 100% (3/3), done.
> Writing objects: 100% (3/3), 327 bytes | 0 bytes/s, done.
> Total 3 (delta 2), reused 0 (delta 0)
> remote: Resolving deltas: 100% (2/2), completed with 2 local objects.
> To https://github.com/BioinfoMonzino/DaMiRseq.git
>   21d32c2..1890325  master -> master
> 
> Everythink seems ok, but finally I ran:
> 
> $ git push upstream master
> Enter passphrase for key '/c/Users/mchiesa/.ssh/id_rsa':
> 
> To git.bioconductor.org:packages/DaMiRseq.git
> ! [rejected]        master -> master (non-fast-forward)
> error: failed to push some refs to 'git at git.bioconductor.org:packages/DaMiRseq.git'
> hint: Updates were rejected because the tip of your current branch is behind
> hint: its remote counterpart. Integrate the remote changes (e.g.
> hint: 'git pull ...') before pushing again.
> hint: See the 'Note about fast-forwards' in 'git push --help' for details.
> 
> I have also thought to "merge conflicts", but I got again an error message
> 
> $ git merge upstream/master
> fatal: refusing to merge unrelated histories
> 
> What should I do?
> Thank in advance,
> Mattia
> 
> 
> 
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> 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.


More information about the Bioc-devel mailing list