Skip to content

Instantly share code, notes, and snippets.

@kenyon
Created May 16, 2025 16:52
Show Gist options
  • Save kenyon/9bffa17064f221c2bab741c3e53e0f38 to your computer and use it in GitHub Desktop.
Save kenyon/9bffa17064f221c2bab741c3e53e0f38 to your computer and use it in GitHub Desktop.
kenyon@lithium ~/git/modulesync_config ((9.5.0)) % bundle exec msync update --verbose --filter puppet-usbguard --message "modulesync $(git describe)"
kenyon@lithium ~/git/modulesync_config ((9.5.0)) % bundle exec msync clone --verbose --filter puppet-usbguard
kenyon@lithium ~/git/modulesync_config ((9.5.0)) % bundle exec msync
Commands:
msync clone # Clone repositories that need to
msync execute [OPTIONS] -- COMMAND.. # Execute the command in each managed modules
msync help [COMMAND] # Describe available commands or one specific command
msync hook # Activate or deactivate a git hook.
msync push # Push all available commits from branch to remote
msync reset # Reset local repositories to a well-known state
msync update # Update the modules in managed_modules.yml
Options:
-c, [--project-root=PROJECT_ROOT] # Path used by git to clone modules into.
[--git-base=GIT_BASE] # Specify the base part of a git URL to pull from
# Default: [email protected]:
-n, [--namespace=NAMESPACE] # Remote github namespace (user or organization) to clone from and push to.
# Default: voxpupuli
-f, [--filter=FILTER] # A regular expression to select repositories to update.
-x, [--negative-filter=NEGATIVE_FILTER] # A regular expression to skip repositories.
-v, [--verbose], [--no-verbose] # Verbose mode
# Default: false
1 kenyon@lithium ~/git/modulesync_config ((9.5.0)) %
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment