How to remove this green -139? Before, I deleted everything manually and copied the new things into it. Then I git add -A, and then the red part turned into green part. How to remove the green -139.
+0 means 0 lines added, ~0 means 0 lines changed, -139 means 139 lines reduced
This should be what is displayed on your command line, not what git actively displays to you. But you can git diff --stat to see the line number change information
Red indicates local changes, green indicates that it has been placed in the Staging area (buffer). This information will be gone after you submit it
Just submit it
git commit -m "prompt message"
git push
+0 means 0 lines added, ~0 means 0 lines changed, -139 means 139 lines reduced
This should be what is displayed on your command line, not what git actively displays to you. But you can git diff --stat to see the line number change information
Red indicates local changes, green indicates that it has been placed in the Staging area (buffer). This information will be gone after you submit it