[Bioc-devel] Can I push a new branch to Bioconductor git?
Turaga, Nitesh
Nitesh.Turaga at RoswellPark.org
Sun Jan 7 18:06:03 CET 2018
Hi Stian,
You cannot push to any branch other than “master” and RELEASE_3_6. Bioconductor regulates the branches that are available on our GIT server.
You cannot push an additional branch, we recommend you do that on your GitHub, and merge with master when you are ready, and then push to Bioconductor.
You also seem to have duplicate commits on your repository. You should probably take a look at why that is happening.
Best,
Nitesh
> On Jan 7, 2018, at 5:43 AM, Stian Lågstad <stianlagstad at gmail.com> wrote:
>
> I'm trying to push a new branch with some changes to origin, but I'm
> getting this error:
>
> ```
> ➜ chimeraviz-bioconductor git:(starfusionffpm) git push --set-upstream
> origin starfusionffpm
> Counting objects: 7, done.
> Delta compression using up to 8 threads.
> Compressing objects: 100% (7/7), done.
> Writing objects: 100% (7/7), 998 bytes | 0 bytes/s, done.
>
> Total 7 (delta 5), reused 0 (delta 0)
> remote: Error: duplicate commits.
> remote:
> remote: There are duplicate commits in your commit history, These cannot be
> remote: pushed to the Bioconductor git server. Please make sure that this is
> remote: resolved.
> remote:
> remote: Take a look at the documentation to fix this,
> remote:
> https://bioconductor.org/developers/how-to/git/sync-existing-repositories/,
> remote: particularly, point #8 (force Bioconductor master to Github master).
> remote:
> remote: For more information, or help resolving this issue, contact
> remote: <bioc-devel at r-project.org>. Provide the error, the package name and
> remote: any other details we might need.
> remote:
> remote: Use
> remote:
> remote: git show 248742bd41a1b1d862d29e612baa067c50c55e5b
> remote: git show 81ee14920be186caf4f2949e7dacfad68db64ed2
> remote:
> remote: to see body of commits.
> remote:
> To git at git.bioconductor.org:packages/chimeraviz
>
> ! [remote rejected] starfusionffpm -> starfusionffpm (pre-receive hook
> declined)
> error: failed to push some refs to 'git at git.bioconductor.org:
> packages/chimeraviz'
> ```
>
> I'm not syncing anything with an existing Github repository. I just wanted
> to store a couple of changes that I might merge into master later.
>
> I haven't done anything locally since my last successful push to master, so
> I should be in sync:
> ```
> ➜ chimeraviz-bioconductor git:(starfusionffpm) git checkout master
> Switched to branch 'master'
> Your branch is up-to-date with 'origin/master'.
> ➜ chimeraviz-bioconductor git:(master) git pull
> Already up-to-date.
> ➜ chimeraviz-bioconductor git:(master) git branch -a
> RELEASE_3_6
> * master
> starfusionffpm
> remotes/origin/HEAD -> origin/master
> remotes/origin/RELEASE_3_5
> remotes/origin/RELEASE_3_6
> remotes/origin/master
> ➜ chimeraviz-bioconductor git:(master) git checkout RELEASE_3_6
> Switched to branch 'RELEASE_3_6'
> Your branch is up-to-date with 'origin/RELEASE_3_6'.
> ➜ chimeraviz-bioconductor git:(RELEASE_3_6) git pull
> Already up-to-date.
> ```
>
> Are we allowed to push new branches to Bioconductor, or should we avoid
> doing that?
>
> --
> Stian Lågstad
> +47 41 80 80 25
>
> [[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