I recently started using the command git add -u when preparing my code for commit via the command line. This helps me to only commit changes to tracked files. Not long ago I would occasionally make accidental commits of untracked file changes when using the command git add . If you’re new to git, the …
Continue reading “Only Commit Changes to Tracked Files in Git”