GithubHelp home page GithubHelp logo

Comments (6)

CrocoDillon avatar CrocoDillon commented on May 18, 2024

I was able to pull in the old commit history by rebasing the master branch onto the commit where you started from. Steps to reproduce (assumes you're on master):

# Add the old repo as remote to be able to rebase onto its commits
git remote add old [email protected]:docker-library/node.git
git fetch old
# Just to be safe backup the master branch
git branch master-backup
# I believe this is your starting point, so rebase onto that commit
# https://github.com/docker-library/node/commit/57dd55534374b98309c13cd19e00691f5479ddf0
git rebase --keep-empty --preserve-merges --root --onto 57dd555 master
# Resolve first conflict by removing some files you did not copy to this repo
git rm LICENSE
git rm generate-stackbrew-library.sh
git rm update.sh
git status # Just to verify everything is okay so far
git rebase --continue
# I had another conflict and I don't know where it's coming from but I had two identical files, I just removed one
rm 0.8/wheezy/Dockerfile~35e68206f2c45fbf54d3c166c360dcbd8fdaf9e1
git add -A
git status # Again to verify
git rebase --continue

That did the trick. If it didn't work you can always reset the master branch to the backup with:

git reset --hard master-backup

from docker-node.

chorrell avatar chorrell commented on May 18, 2024

Cool, thanks!

from docker-node.

SimenB avatar SimenB commented on May 18, 2024

I'm thinking this is too late at this point?

from docker-node.

LaurentGoderre avatar LaurentGoderre commented on May 18, 2024

Why not have a legacy branch just for reference purpose?

from docker-node.

chorrell avatar chorrell commented on May 18, 2024

Yeah, that might work.

And yes, so much time has passed that I don't think it's worth merging in the previous commit history.

from docker-node.

chorrell avatar chorrell commented on May 18, 2024

This has been lingering for a while. I'm inclined to close it out.

from docker-node.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.