I tried to push changes from local master to upstream (bioconductor) for package RiboDiPA. However I received the following errors which I don't know how to correct. Anyone could give some hints? Thanks.
(base) jon@Jipings-2021-macbook-pro RiboDiPA % git push
Enumerating objects: 17, done.
Counting objects: 100% (17/17), done.
Delta compression using up to 16 threads
Compressing objects: 100% (9/9), done.
Writing objects: 100% (9/9), 5.91 KiB | 5.91 MiB/s, done.
Total 9 (delta 4), reused 0 (delta 0)
remote: FATAL: W refs/heads/master packages/RiboDiPA j.wang DENIED by fallthru
remote: error: hook declined to update refs/heads/master
To git.bioconductor.org:packages/RiboDiPA
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git@git.bioconductor.org:packages/RiboDiPA'
This is a question for the bioc-devel listserv (bioc-devel@r-project.org) rather than the support site.
However, it looks like you are still using 'master' whereas Bioconductor is now using 'devel' instead. Also, you should direct your push to the repo you want it to go to (git push alone doesn't specify the repo that you are pushing to - presumably it chooses the first one?). You should instead do
git remote -v
To get the names you have for your GitHub and the Bioconductor repos, and then you would do (here I assume the Bioconductor repo is 'origin')
I have bioconductor remote named "upstream". thanks for help!! I missed ":devel" after master.