Skip to content

Instantly share code, notes, and snippets.

@bboydflo
Created February 13, 2020 08:01
Show Gist options
  • Save bboydflo/001c6c6c9240d996ec8ba425903f8909 to your computer and use it in GitHub Desktop.
Save bboydflo/001c6c6c9240d996ec8ba425903f8909 to your computer and use it in GitHub Desktop.
[git add from subfolders] search for files in subdirectories and add the to stagin area
# https://stackoverflow.com/a/11980780/1597360
find . -name '*js' -exec git add {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment