Because there will be a reason why the code was changed that introduced the bug. If you fix the bug you might inadvertently break a different piece of functionality.
A git commit gives you the reason for the change and the context of what other files were changed at the same time. I’ve found that invaluable.
A git commit gives you the reason for the change and the context of what other files were changed at the same time. I’ve found that invaluable.