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)