DEV Community

n350071πŸ‡―πŸ‡΅
n350071πŸ‡―πŸ‡΅

Posted on

How to git add the only modified files, not the untracked files

git status | grep modified | cut -d':' -f 2 | xargs git add

Top comments (0)