mirror of https://github.com/namibia/tips.git
Add git status short
This commit is contained in:
parent
39c7902f9c
commit
9dc216197a
|
@ -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)
|
* [List references in a remote repository](#list-references-in-a-remote-repository)
|
||||||
* [Backup untracked files.](#backup-untracked-files)
|
* [Backup untracked files.](#backup-untracked-files)
|
||||||
* [List all git aliases](#list-all-git-aliases)
|
* [List all git aliases](#list-all-git-aliases)
|
||||||
|
* [Show git status short](#show-git-status-short)
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end toc -->
|
<!-- @doxie.inject end toc -->
|
||||||
|
@ -1099,5 +1100,10 @@ __Alternatives:__
|
||||||
git config -l | grep alias | cut -d '.' -f 2
|
git config -l | grep alias | cut -d '.' -f 2
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## Show git status short
|
||||||
|
```sh
|
||||||
|
git status --short --branch
|
||||||
|
```
|
||||||
|
|
||||||
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
|
||||||
<!-- @doxie.inject end -->
|
<!-- @doxie.inject end -->
|
||||||
|
|
|
@ -470,4 +470,8 @@
|
||||||
"title": "List all git aliases",
|
"title": "List all git aliases",
|
||||||
"tip": "git config -l | grep alias | sed 's/^alias\\.//g'",
|
"tip": "git config -l | grep alias | sed 's/^alias\\.//g'",
|
||||||
"alternatives": ["git config -l | grep alias | cut -d '.' -f 2"]
|
"alternatives": ["git config -l | grep alias | cut -d '.' -f 2"]
|
||||||
}]
|
},{
|
||||||
|
"title": "Show git status short",
|
||||||
|
"tip": "git status --short --branch"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in New Issue