Git Review Changes
This is a good practice to review all the changes before pushing them to the remote repository. Use git log
command to find commit status.
$ git log
Output:-
commit 2693680838b83a37d2e81cd9aae5c54785b6ed52 (HEAD -> master) Author: rahulDate: Fri Sep 1 06:34:06 2017 +0530 Updated Login Page commit 9e42b8c992cf7d7e3662ea486da64950f2f448f3 Author: rahul Date: Fri Sep 1 06:33:18 2017 +0530 "Added Document PDFs"
You can find the most recent commit log on top of the output. Now, use commit id to view the more detailed status of specific commit id.
$ git show 9e42b8c992cf7d7e3662ea486da64950f2f448f3
Output:-
commit 9e42b8c992cf7d7e3662ea486da64950f2f448f3 Author: rahulDate: Fri Sep 1 06:33:18 2017 +0530 Added Document PDFs diff --git a/Documents/1.pdf b/Documents/1.pdf new file mode 100644 index 0000000..e69de29 diff --git a/Documents/2.pdf b/Documents/2.pdf new file mode 100644 index 0000000..e69de29 diff --git a/README.md b/README.md new file mode 100644 index 0000000..e69de29 diff --git a/index.html b/index.html new file mode 100644 index 0000000..e69de29