I was in branch1. I committed a few files using git command:
git add file1.c
git commit
And then created patch using git format-patch:
git format-patch master..branch1
Now the patch created has these lines on the top:
diff --git a/include/abc.h b/include/abc.h
index 2f5f1f3..f4aa268 888111
--- a/include/abc.h
+++ b/include/abc.h
My questions are:
What does line
index 2f5f1f3..f4aa268 888111mean?I think it might be related to some git hash. How can I verify those numbers from the git log? Basically what those numbers mean in
index 2f5f1f3..f4aa268 888111?git logshows very long numbers in the hash. How are they related, if at all?