Created
          March 3, 2014 22:26 
        
      - 
      
- 
        Save jrenggli/9335957 to your computer and use it in GitHub Desktop. 
    Create shell commands from gitmodules file
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Search: \[submodule ".*/([^\/]*)"\]\n\tpath = (.*)\n\turl = (.*) | |
| Replace: git submodule add $3 $2\ngit commit -m "[TASK] Add puppet module $1" | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment