git add untracked files
Snippet
Written with a loving hand by kitt some time around 20:01 on 21 March 2021
Add all untracked files with one command.
git ls-files -o --exclude-standard
lists untracked files.
git add $(git ls-files -o --exclude-standard)
Add new comment