Hi Stian,
I?ve enabled you to push to your repository on Bioconductor.
Your duplicate commit history weaves in and out because of merges along
the way from your GitHub repository. At this point, there is very little I
can do to help unless I spend a lot of time on your package, manually
fixing the history.
The duplicate commits should not effect your package development, and you
should continue with it. It does not effect the build process as well.
If you feel like this is something you can fix from your end, by using
?git reset? and ?git cherry-pick? you should feel free to fix. Let me know
when you are successful, and I can help you push the updated repo.
For the future, duplicate commits are caused by ?merge? commands. You
might want to search for those if you want to know which commits are
causing these duplicates.
Best,
Nitesh
On Jan 13, 2018, at 8:36 PM, Turaga, Nitesh
<Nitesh.Turaga at RoswellPark.org> wrote:
Hi Stian,
I?m looking into it. Your commit history seems to have a discontinuous
history of duplicates + non-duplicates caused by merge from different
sources. I?m yet to figure out how to solve this situation.
I will get back to you within a couple of days.
Best,
Nitesh
On Jan 13, 2018, at 12:35 PM, Stian L?gstad <stianlagstad at gmail.com>
Hi,
Could someone help me get past the duplicate commits error? I'm not sure
what to do.
These are the steps I've taken:
1. Clone the repository. `git clone git at git.bioconductor.org:packa
ges/chimeraviz`
2. Make a small change in master + attempt to push it, and got this:
```
? chimeraviz-bioconductor git:(master) git push
Counting objects: 4, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 422 bytes | 0 bytes/s, done.
Total 4 (delta 3), reused 0 (delta 0)
remote: Error: duplicate commits.
remote:
remote: There are duplicate commits in your commit history, These
remote: pushed to the Bioconductor git server. Please make sure that
remote:
remote: For more information, or help resolving this issue, contact
remote: <bioc-devel at r-project.org>. Provide the error, the package
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] master -> master (pre-receive hook declined)
```
I do see what looks like duplicate commits in the git log. For
example ba964db26ac49e86a5374e0dc3040769ae799113
and 8a49e3cdd1ce5257879d752aeead83813c6a4044, which are both from Sat
17:45:42 2017. But I've been successful in making changes after april
year.
--
Stian L?gstad
+47 41 80 80 25
[[alternative HTML version deleted]]