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)