I am not lazy. First I run git status to see what has been modified, and/or git diff. Then git add what I want to have as part of the commit (usually git add -A, but sometime a cherry-pick is needed). Only then will I perform a git commit and a git push.
Working with Git requires some care. I use aliases, of course.
Some comments have been hidden by the post's author - find out more
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I am not lazy. First I run
git statusto see what has been modified, and/orgit diff. Thengit addwhat I want to have as part of the commit (usuallygit add -A, but sometime a cherry-pick is needed). Only then will I perform agit commitand agit push.Working with Git requires some care. I use aliases, of course.