git-add-untracked-sources 87 B

12345
  1. #!/bin/bash -e
  2. if [[ $# -eq 1 ]]; then cd $1; fi
  3. git add $(git ls-untracked-sources)