Giter VIP home page Giter VIP logo

Comments (2)

denian avatar denian commented on May 22, 2024 2

Is 8b55debc2b4820f5f287dde93afe4be1b969e793 the last commit in your private repo? If so, you should use the first one, assuming you want to import everything, or the sha1 previous to that one, if you don't care about all the history.

Currently we don't have good support for importing all the history from Git from scratch, given that there is no "zero" sha1 in Git that you can pass as --last-rev. At some point we want to add a flag like --git-import-all that imports from the very first commit.

A workaround for this for now would be, assuming that you have this history:

sha3 - Third commit
sha2 - Second commit
sha1 - First commit

To run first (note that I'm not using --last-rev):

copybara copy.bara.sky sha1 --force

And, from that moment on, simply run:

copybara copy.bara.sky

And Copybara will figure out which is the next change to import.

from copybara.

DarthHater avatar DarthHater commented on May 22, 2024 1

Hell yeah, worked. Thanks!

from copybara.

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.