mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
Merge pull request #113 from muhtasib/git_info
Updated main documentation to include git-info
This commit is contained in:
commit
d58c8cff42
51
Readme.md
51
Readme.md
|
|
@ -45,6 +45,7 @@ $ brew install git-extras
|
|||
- `git graft`
|
||||
- `git alias`
|
||||
- `git ignore`
|
||||
- `git info`
|
||||
- `git release`
|
||||
- `git contrib`
|
||||
- `git repl`
|
||||
|
|
@ -327,6 +328,56 @@ build
|
|||
*.log
|
||||
```
|
||||
|
||||
# git-info
|
||||
|
||||
Show information about the repo:
|
||||
|
||||
```bash
|
||||
$ git info
|
||||
|
||||
## Remote URLs:
|
||||
|
||||
origin git@github.com:sampleAuthor/git-extras.git (fetch)
|
||||
origin git@github.com:sampleAuthor/git-extras.git (push)
|
||||
|
||||
## Remote Branches:
|
||||
|
||||
origin/HEAD -> origin/master
|
||||
origin/myBranch
|
||||
|
||||
## Local Branches:
|
||||
|
||||
myBranch
|
||||
* master
|
||||
|
||||
## Most Recent Commit:
|
||||
|
||||
commit e3952df2c172c6f3eb533d8d0b1a6c77250769a7
|
||||
Author: Sample Author <sampleAuthor@gmail.com>
|
||||
|
||||
Added git-info command.
|
||||
|
||||
Type 'git log' for more commits, or 'git show <commit id>' for full commit details.
|
||||
|
||||
## Configuration (.git/config):
|
||||
|
||||
color.diff=auto
|
||||
color.status=auto
|
||||
color.branch=auto
|
||||
user.name=Sample Author
|
||||
user.email=sampleAuthor@gmail.com
|
||||
core.repositoryformatversion=0
|
||||
core.filemode=true
|
||||
core.bare=false
|
||||
core.logallrefupdates=true
|
||||
core.ignorecase=true
|
||||
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
|
||||
remote.origin.url=git@github.com:mub/git-extras.git
|
||||
branch.master.remote=origin
|
||||
branch.master.merge=refs/heads/master
|
||||
|
||||
```
|
||||
|
||||
## git-create-branch <name>
|
||||
|
||||
Create local and remote branch `name`:
|
||||
|
|
|
|||
|
|
@ -53,6 +53,9 @@
|
|||
.IP "\(bu" 4
|
||||
\fBgit\-undo\fR undo one or more of the latest commits
|
||||
.
|
||||
.IP "\(bu" 4
|
||||
\fBgit\-info\fR show information about the repository
|
||||
.
|
||||
.IP "" 0
|
||||
.
|
||||
.SH "AUTHOR"
|
||||
|
|
|
|||
|
|
@ -93,12 +93,13 @@
|
|||
<li> <code>git-summary</code> repository summary & contrib</li>
|
||||
<li> <code>git-touch</code> touch and add file to the index</li>
|
||||
<li> <code>git-undo</code> undo one or more of the latest commits</li>
|
||||
<li> <code>git-info</code> show information about the repository</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<h2 id="AUTHOR">AUTHOR</h2>
|
||||
|
||||
<p>Written by Tj Holowaychuk <<a data-bare-link="true" href="mailto:tj@vision-media.ca">tj@vision-media.ca</a>></p>
|
||||
<p>Written by Tj Holowaychuk <<a data-bare-link="true" href="mailto:tj@vision-media.ca">tj@vision-media.ca</a>></p>
|
||||
|
||||
<h2 id="REPORTING-BUGS">REPORTING BUGS</h2>
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ git-extras(1) -- Awesome GIT utilities
|
|||
- `git-summary` repository summary & contrib
|
||||
- `git-touch` touch and add file to the index
|
||||
- `git-undo` undo one or more of the latest commits
|
||||
- `git-info` show information about the repository
|
||||
|
||||
## AUTHOR
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue