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)