: nply/git-summary

commit 185ec27fc23e5a7282bf8d44c1284649f4bf03b4
parent db6d95d9a9e79dd1d5bb9edd645a29ee1ac3e832
Author: Adam Zahran <adham.zahran@hotmail.com>
Date: Fri, 15 Dec 2017 03:43:14 +0200

Merge pull request #3 from stdedos/patch-1

Add explainations of the status column
1 file changed, 10 insertions(+), 6 deletions(-)
M
git-summary
|
16
++++++++++------
diff --git a/git-summary b/git-summary
@@ -18,12 +18,16 @@ usage() {
 
           - the folder name
           - the currently checked out branch
-          - a short status string showing whether there are:
-              - untracked files
-              - uncommitted new files
-              - uncommitted changes
-              - unpulled commits for the current branch
-              - unpushed commits for the current branch
+          - a short 2-column status string showing whether there are:
+              * Local Changes:
+                - untracked files                          "?_"
+                - uncommitted new files                    "+_"
+                - uncommitted changes                      "M_"
+                - (nothing)                                " _"
+              * Remote Changes:
+                - unpulled commits for the current branch  "_v"
+                - unpushed commits for the current branch  "_^"
+                - (nothing)                                "_ "
 
         Arguments: