Returns information on current repository
git-info
Shows the following information about a repository:
Remote Url(s)
Remote Branches
Local Branches
Most recent commit
Configuration Info
N/A
Outputs info about a repo:
$ git info ## Remote URLs: origin [email protected]:sampleAuthor/git-extras.git (fetch) origin [email protected]: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 <[email protected]> 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 [email protected] core.repositoryformatversion=0 core.filemode=true core.bare=false core.logallrefupdates=true core.ignorecase=true remote.origin.fetch=+refs/heads/*:refs/remotes/origin/* [email protected]:mub/git-extras.git branch.master.remote=origin branch.master.merge=refs/heads/master
Written by Leila Muhtasib <[email protected]>
<https://github.com/visionmedia/git-extras/issues>
<https://github.com/visionmedia/git-extras>