Dear Nitesh, I think I have similar problem...
I tried to push some updates to Bioconductor using *git push upstream master *and having the following problem*:* *To git.bioconductor.org:packages/iterClust.git ! [rejected] master -> master (non-fast-forward)error: failed to push some refs to 'g...@git.bioconductor.org:packages/iterClust.git'hint: Updates were rejected because the tip of your current branch is behindhint: 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.* My *git remote -v* output: *origin g...@github.com:hd2326/iterClust.git (fetch)origin g...@github.com:hd2326/iterClust.git (push)upstream g...@git.bioconductor.org:packages/iterClust.git (fetch)upstream g...@git.bioconductor.org:packages/iterClust.git (push)* and my *git log --oneline** output*: *da9b838 (HEAD -> master, origin/master) Merge pull request #2 from hd2326/releasef0b0cab 1.0.2431f1a6 1.0.25b8334b 1.0.22adc1d6 1.0.2f9f9057 Merge pull request #1 from hd2326/mastera36f952 2017120103daa79 20171005df8e1d9 201709255a6f49c 20170925a396510 20170925a1e3a9b 2017092553257c1 20170925bba0041 20170925d60f929 201709257639318 2017092523ed47b 20170908fe94a79 2017090854c939e 2017090881890f3 20170908feefc44 201709083905d52 2017090863a7b21 20170908e4bbdc5 20170908fcdc396 20170908406d29b vignettescbf66ea doca24d4d9 updated Detailed section2933f89 Initial commit* Would you please help me on the problem? Thank you very much! Ding 2018-03-26 10:40 GMT-04:00 Turaga, Nitesh <nitesh.tur...@roswellpark.org>: > Hi Yuande, > > This is being blocked because you have completely unrelated histories from > what you have on your Github to the Bioc-git repo. We deliberately don’t > allow force pushing. > > Are you sure you want to merge the unrelated histories? This is important > to consider, particularly because we’ve had this problem of packages having > duplicate commits.Please make sure your Github Repo does not have any > duplicate commits. (“git log --oneline”) > > If you think the Github repo is at a state where it needs to synced to the > Bioc-git repo, let me know and I’ll take a look at it and sync it for you. > > Send me the link to your Github repo or just send me the output to “git > remove -v”. > > Best, > > Nitesh > > > On Mar 25, 2018, at 11:55 AM, Yuande Tan <tanyua...@gmail.com> wrote: > > > > Dear All, > > I tried to git push upstream master but I met problem: > > > > To git.bioconductor.org:packages/MBttest.git > > > > ! [rejected] master -> master (non-fast-forward) > > > > error: failed to push some refs to 'g...@git.bioconductor.org: > > packages/MBttest.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. > > > > > > Actually fixed merge conflict by using git add . and git commit -m > > "Resolved merge conflict by incorporating both suggestions." > > > > and git add ../README.md and git commit -m "add README.md file." > > > > I used git pull --allow-unrelated-histories origin master > > > > and I got > > > > > > From https://github.com/Yuande/MBttest > > > > * branch master -> FETCH_HEAD > > > > Already up to date. > > > > I still did *~/.ssh*$ git push upstream master and I got the same error > > (non-fast-forward). > > > > > > When I used *~/.ssh*$ git push -f upstream master, I got "error: hook > > declined to update refs/heads/master" > > > > > > > > So how do I address this "hook declined" error? > > > > > > Thanks > > > > > > Yuande Tan > > > > [[alternative HTML version deleted]] > > > > _______________________________________________ > > Bioc-devel@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. > _______________________________________________ > Bioc-devel@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/bioc-devel > [[alternative HTML version deleted]] _______________________________________________ Bioc-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/bioc-devel