Changes between Version 1 and Version 2 of DarcsToGit


Ignore:
Timestamp:
Apr 1, 2011 2:24:30 PM (4 years ago)
Author:
igloo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DarcsToGit

    v1 v2  
    1818cd ghc/darcs
    1919./darcs-all pull -a
     20cd ../..
    2021}}}
    2122
    2223Next we checkout the git repo as it was at the darcs branch point:
    2324{{{
     25git clone ghc/git ghc/migrate
     26cd ghc/migrate
     27git checkout -b "some-descriptive-name" ghc-darcs-git-switchover
     28cd ../..
    2429}}}
     30
     31Now we put the git meta-data into our darcs repo, record the changes with git and push them back to our git repo:
     32{{{
     33cd ghc/darcs
     34mv ../migrate/.git .
     35git commit -a
     36git checkout master
     37git merge "some-descriptive-name"
     38git push ../../ghc/git
     39}}}