I am just getting into VC and in particular git. I am aware of basic commands like git add/commit/remote but having a hard time understanding the output:
$ git show f27d852
commit f27d852fc750a9c3f71eaf0acf586164b76faddf
Author: myusername <[email protected]>
Date: Tue Jun 28 22:59:35 2016 +0530
changed color to a different color
diff --git a/css/business-casual.css b/css/business-casual.css
index bbd44d7..ee1765e 100644
--- a/css/business-casual.css
+++ b/css/business-casual.css
@@ -194,5 +194,5 @@ footer p {
/* CUSTOM CSS - BY ME */
.brand {
- color: #ff0000;
- }
\ No newline at end of file
+ color: #ffdd000;
+ }
What does each line mean? How to read it. can anyone explain?
Thanks dk
diff --git a/..... b/--- a/... +++ b/..@@ -194,5 +194,5 @@ footer p {(why there is a reference offooter p{}, which was never changed and moreover no where near line 194) and the line\ No newline at end of filewhen infact there were blank lines at eof.No newline at end of filemessage indicates that one of the files (the first one, in this case) is incomplete. The last line is not terminated by a newline character, as lines in a text file are supposed to be. See this question. The diff output tells you everything about the changes between the two files, even this minor detail that you might not care about.