Skip to content

GIT can make your repo more modular with `git submodule` (as shown in this repo). Here is a utility to send recursive commands through the submodules (like `git submodule foreach` but better)

Notifications You must be signed in to change notification settings

mathew-kurian/git-deep

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Deep

Runs command on submodule (children) before running on parent git repo

yarn global add git-deep

Examples

# Grunt commands
$ git-deep --parallel 'grunt watch'
$ git-deep 'grunt build'

# Git commands
$ git-deep 'git add .'
$ git-deep 'git commit -n -am "Added new features"'
$ git-deep 'git push'

# Or any other command
$ git-deep 'echo "foo bar"'

Optional Arguments

  • -c, --childrenOnly: Run command on children only
  • -p, --parallel: Run commands in parallel

About

GIT can make your repo more modular with `git submodule` (as shown in this repo). Here is a utility to send recursive commands through the submodules (like `git submodule foreach` but better)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published