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