On 1/27/21 2:04 PM, Otto Urpelainen wrote:
> The other option of not using 'git add .' can also be described as 
> mentally filtering out all the irrelevant unstaged changes to find the 
> ones that should actually be added. That adds cognitive burden, slows 
> things down and leads to mistakes every now and then. It does not help 
> to say "do not make mistakes" if the task is inherently error-prone. 
> Such filtering is something a computer should do, which leads us back to 
> .gitignore.

FWIW, 'git add -u' (--update) will limit you to files that are already
part of the repo. You still need to pay attention if there really are
new files though, like a new patch.
_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]

Reply via email to