Slashdot Mirror


Subversion Project Migrates To Git

New submitter gitficionado (3600283) writes "The Apache Subversion project has begun migrating its source code from the ASF Subversion repo to git. Last week, the Subversion PMC (project management committee) voted to migrate, and the migration has already begun. Although there was strong opposition to the move from the older and more conservative SVN devs, and reportedly a lot of grumbling and ranting when the vote was tallied, a member of the PMC (who asked to remain anonymous) told the author that 'this [migration] will finally let us get rid of the current broken design to a decentralized source control model [and we'll get] merge and rename done right after all this time.'" Source for the new git backend.

3 of 162 comments (clear)

  1. April Fool's! by barlevg · · Score: 5, Funny

    In related news, Microsoft will be using Gmail for their company email, and Apple will be replacing their workstations with Linux boxes.

  2. Change by Yunzil · · Score: 4, Funny

    'this [migration] will finally let us get rid of the current broken design... ... and replace it with a completely new broken design. (I hate git.)

    1. Re:Change by BlackPignouf · · Score: 3, Funny

      Exactly.

      I love git, because all my development repos are self-contained, easy to backup and work perfectly offline.
      "git rebase -i" is just wonderful.

      BUT :
      You want to pull and overwrite your local changes? It's as easy as :

        git add *
        git commit -a -m "auto dev server commit"
        git fetch origin master
        git merge -s recursive -X theirs origin/master

      You want to clone your local repo to a new remote one and use it as origin? Sure :
      #On local machine
      cd foo_project
      git init
      git add *
      git commit -m "My initial commit message"
      #On remote machine (Git remote repository)
      sudo su - git
      cd /usr/local/git_root/
      mkdir foo-project.git
      cd foo-project.git/
      git --bare init
      git config core.sharedrepository 1
      git config receive.denyNonFastforwards true
      find objects -type d -exec chmod 02770 {} \;
      #On local machine, in your git project
      git remote add origin ssh://git@example.com:2227/usr/local/git_root/foo_project.git
      git push -u origin master

      Those are just 2 examples that come often enough to be an annoyance, but not often enough that I can remember them.