新しいファイルだけを保存する git コマンド
git add - Git add only all new files, not modified files - Stack Overflow
Is there a way to only add new files and not add modified files with git? That is, files that are listed as untracked with git status. Other than ofcourse adding each file separately. It's not
git add $(git ls-files -o --exclude-standard)
.gitconfig
[alias]
addnewonly = "!f() { git add $(git ls-files -o --exclude-standard); }; f"