git push errors
1
0
Entering edit mode
Jiping Wang ▴ 90
@jiping-wang-6687
Last seen 13 days ago
United States

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'
RiboDiPA • 192 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 14 hours ago
United States

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')

git push origin master:devel
0
Entering edit mode

I have bioconductor remote named "upstream". thanks for help!! I missed ":devel" after master.

(base) jon@Jipings-2021-macbook-pro RiboDiPA % git push upstream master:devel
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)
To git.bioconductor.org:packages/RiboDiPA
   6225daf..921e372  master -> devel
ADD REPLY

Login before adding your answer.

Traffic: 748 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6