diff --git a/README.md b/README.md index 47dc259..b3be0f2 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`. * [List references in a remote repository](#list-references-in-a-remote-repository) * [Backup untracked files.](#backup-untracked-files) * [List all git aliases](#list-all-git-aliases) +* [Show git status short](#show-git-status-short) @@ -1099,5 +1100,10 @@ __Alternatives:__ git config -l | grep alias | cut -d '.' -f 2 ``` +## Show git status short +```sh +git status --short --branch +``` + diff --git a/tips.json b/tips.json index d0ac2fe..a48a076 100644 --- a/tips.json +++ b/tips.json @@ -470,4 +470,8 @@ "title": "List all git aliases", "tip": "git config -l | grep alias | sed 's/^alias\\.//g'", "alternatives": ["git config -l | grep alias | cut -d '.' -f 2"] -}] +},{ + "title": "Show git status short", + "tip": "git status --short --branch" +} +]