Changes between Version 4 and Version 5 of ChimeraWithGit


Ignore:
Timestamp:
Dec 2, 2010, 4:31:37 PM (15 years ago)
Author:
Darren Weber
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ChimeraWithGit

    v4 v5  
    1414cd chimera
    1515git status
    16 # Fetch the git repository for my Chimera extension; this does not merge anything.
     16#
     17# Step 2. Fetch the git repository for my Chimera extension.
     18#
    1719git fetch ssh://weber.cgl.ucsf.edu/data/gitroot/chimera-extension
    1820# Create a temporary branch for the fetched repository, and tag its head:
     
    2022git tag -a -m "Animation last fetch" last tmp
    2123#
    22 # Step 2.  Apply initial commit from my git repository onto the git-svn
     24# Step 3.  Apply the initial commit from my git repository onto the git-svn
    2325#
    2426INIT_COMMIT=$(git log tmp --pretty=format:%H | tail -1)
     
    2628git commit -C $INIT_COMMIT
    2729#
    28 # Step 3.  Rebase and submit
     30# Step 4.  Rebase and submit
    2931#
    3032# Apply all the other commits to the tmp branch; make it the new master branch.
    3133git rebase master tmp
    3234git branch -M tmp master
    33 # Lastly, commit the changes back to the svn repository
    34 git svn dcommit
     35#
     36# Step 5.  Shuffle some files around.
     37#
     38mkdir libs/Animate
     39git mv anim/* libs/Animate/
     40rmdir anim
     41
     42git status
     43git rm .project
     44git rm .pydevproject
     45git rm -r .settings
     46git status
     47mkdir libs/Animate/TkExamples
     48git mv TkExamples/* libs/Animate/TkExamples/
     49rmdir TkExamples
     50git rm -r TemplateExtension
     51git rm -r PyUML
     52git rm -r midasExamples
     53git commit -m "Reshuffle animation project files to fit into Chimera subversion repository"
     54#
     55# Step 6.  Lastly, commit the changes back to the svn repository.
     56#
     57git svn dcommit --rmdir --find-copies-harder
    3558}}}