Kuliax

GNU/Linux untuk Kampus

Alat Pengguna

Alat Situs


devel:vcs:svn2git

SVN to Git

  • mkdir bla.git
  • ( cd ~/bla-svn && tar –exclude '*.svn*' -cf - . ) | (cd ~/bla.git/ && tar -xpf - )
  • cd bla.git/
  • git init
    Initialized empty Git repository in /home/stwn/bla.git/.git/
  • git status
    # On branch master
    #
    # Initial commit
    #
    # Untracked files:
    #   (use "git add <file>..." to include in what will be committed)
    #
    #       .gitignore
    #        bla
    #        bla/
    nothing added to commit but untracked files present (use "git add" to track)
devel/vcs/svn2git.txt · Terakhir diubah: 2009/04/16 20:56 (Perubahan eksternal)