Skip to content

Instantly share code, notes, and snippets.

@Larusso
Last active December 12, 2015 09:19
Show Gist options
  • Save Larusso/4750678 to your computer and use it in GitHub Desktop.
Save Larusso/4750678 to your computer and use it in GitHub Desktop.
Simple alias to turn git submodule change tracking to ignore all
[alias]
submodule-ignore-on = submodule -q foreach 'git config --file $toplevel/.gitmodules submodule.$name.ignore "all"'
submodule-ignore-off = submodule -q foreach 'git config --file $toplevel/.gitmodules --unset submodule.$name.ignore'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment