In git diff, what do — and +++ mean?

Issue

--- a/python3.py
+++ b/python3.py

That is what I got when running git diff and don’t know what the meaning of --- and +++ is.

Solution

The full output of a git diff is explained here How to read the output from git diff?.

Kind regards, Tom

Answered By – Tom Dierckx

This Answer collected from stackoverflow, is licensed under cc by-sa 2.5 , cc by-sa 3.0 and cc by-sa 4.0

Leave a Reply

(*) Required, Your email will not be published