git-svn-ext

Simple shell script to import svn:externals into a local git-svn repository

4 years after

git-svn-ext

Put git-svn-ext in your path and run it from the top-level tree checked out with git-svn. git-svn-ext will detect and git-svn clone the externals using the following method:

  1. git svn clone each external into a .git_externals/ directory.
  2. symlink the cloned repository in .git_externals/ to the proper directory name.
  3. add the symlink and .git_externals/ to the .git/info/excludes/ file, so that you're not pestered about it when performing a git status.

Usage

Usage: ./git-svn-ext <sub command> [sub command args]

Sub commmands:

  • clone clone all svn externals into .git_externals
  • update updates all svn externals (git svn fetch[ --revision]/rebase --local)
  • check check if local git-svn checkout has unpushed commits and uncommitted changes
  • execute run a command against all externals (ie: git svn-ext execute 'git grep "whatever"')

Note: externals may be ignored if listed in .git_external_excludes

Authors

This script is based on git-svn-ext / git-svn-clone-externals from the following repositories:

Related Repositories

Front-end-tutorial

Front-end-tutorial

:panda_face:最全的资源教程-前端涉及的所有知识体系 ...

frontend-navigation

frontend-navigation

some frontend resource 前端资源导航 ...

jain-sip

jain-sip

Disclaimer: This repository is a git-svn mirror of the project found at http://j ...

Front-end-tutorial

Front-end-tutorial

:panda_face:最全的资源教程-前端涉及的所有知识体系 ...

awesome-frontend

awesome-frontend

:panda_face:最全的资源教程-前端涉及的所有知识体系 ...


Top Contributors

wberrier mgee pjstevns svetlyak40wt markvl andrep eipipuz rcc mou trodrigues tmc