Skip to content

Commit 5d9a006

Browse files
authored
Merge pull request #138 from dmlemos/pro_status
Add git status short
2 parents 39c7902 + 9dc2161 commit 5d9a006

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ P.S: All these commands are tested on `git version 2.7.4 (Apple Git-66)`.
159159
* [List references in a remote repository](#list-references-in-a-remote-repository)
160160
* [Backup untracked files.](#backup-untracked-files)
161161
* [List all git aliases](#list-all-git-aliases)
162+
* [Show git status short](#show-git-status-short)
162163

163164
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
164165
<!-- @doxie.inject end toc -->
@@ -1099,5 +1100,10 @@ __Alternatives:__
10991100
git config -l | grep alias | cut -d '.' -f 2
11001101
```
11011102
1103+
## Show git status short
1104+
```sh
1105+
git status --short --branch
1106+
```
1107+
11021108
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
11031109
<!-- @doxie.inject end -->

tips.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,4 +470,8 @@
470470
"title": "List all git aliases",
471471
"tip": "git config -l | grep alias | sed 's/^alias\\.//g'",
472472
"alternatives": ["git config -l | grep alias | cut -d '.' -f 2"]
473-
}]
473+
},{
474+
"title": "Show git status short",
475+
"tip": "git status --short --branch"
476+
}
477+
]

0 commit comments

Comments
 (0)