git-svn
Blob Blame Historyclone
$ git svn clone -rHEAD (svn repository uri)
if need username:
$ git svn clone -rHEAD --username (username) (svn repository uri)
get ignores from svn
$ git svn show-ignore >> .git/info/exclude
or
$ git svn show-ignore >> `git rev-parse --show-toplevel`/.git/info/exclude
set ignores to svn
$ cat <<'EOB' >> .svnignore
> npm-debug.log
> node_modules
> EOB
$ git svn propset svn:ignore -R -F .svnignore .
push
$ git svn dcommit
fetch
$ git svn fetch
pull
$ git svn rebase
or
$ git svn fetch
$ git (merge or rebase) git-svn
show commands and options
$ git svn