Git: How to add modified files and ignore untracked ones

Whenever you make changes to a bunch of files already tracked by git, there’s an easy way to add them without adding untracked files. The command is:

git add --update

or git add -u

That’s it!

0 comments on “Git: How to add modified files and ignore untracked onesAdd yours →

Leave a Reply