mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Merge pull request #166 from Frusty/master
Option to omit config on git-info
This commit is contained in:
commit
d8492e68eb
|
|
@ -385,6 +385,12 @@ $ git info
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
If you wish to omit the config section, you may use `--no-config`:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ git info --no-config
|
||||||
|
```
|
||||||
|
|
||||||
## git-create-branch <name>
|
## git-create-branch <name>
|
||||||
|
|
||||||
Create local and remote branch `name`:
|
Create local and remote branch `name`:
|
||||||
|
|
|
||||||
|
|
@ -36,5 +36,7 @@ echo "## Most Recent Commit:\n"
|
||||||
echo "$(most_recent_commit)\n"
|
echo "$(most_recent_commit)\n"
|
||||||
echo "Type 'git log' for more commits, or 'git show <commit id>' for full commit details.\n"
|
echo "Type 'git log' for more commits, or 'git show <commit id>' for full commit details.\n"
|
||||||
|
|
||||||
echo "## Configuration (.git/config):\n"
|
if test "$1" != "--no-config"; then
|
||||||
echo "$(get_config)\n"
|
echo "## Configuration (.git/config):\n"
|
||||||
|
echo "$(get_config)\n"
|
||||||
|
fi
|
||||||
Loading…
Reference in a new issue