SyntaxFix
Write A Post
Hire A Developer
Questions
You can add this to your ~/.gitconfig file:
[alias] add-untracked = !"git status --porcelain | awk '/\\?\\?/{ print $2 }' | xargs git add"
Then, from the commandline, just run:
git add-untracked