GIT−INFO - Online Linux Manual PageSection : 1
Updated : August 2020
Source :
Note : Git Extras
NAMEgit−info − Returns information on current repository
SYNOPSISgit−info [−c|−−color] [−−no−config]
DESCRIPTIONShows the following information about a repository: 1. Remote Url(s) 2. Remote Branches 3. Local Branches 4. Submodule(s) (if present) 5. Most recent commit 6. Configuration Info .IP "" 0
OPTIONS−c, −−color Use color for information titles. −−no−config Don´t show list all variables set in config file, along with their values.
GIT CONFIGSYou could customize the Most recent commit and Configuration Info format via git config options $ git config −−global −−add git−extras.info.log "<log−command>"
.IP "" 0 the default log−command is "git log −−max−count=1 −−pretty=short" $ git config −−global −−add git−extras.info.config−grep "<config−grep−command>"
.IP "" 0 the default config−grep−command is "git config −−list" For example, to set global configuration to show last commit subject, without sha1 $ git config −−global −−add git−extras.info.log "git log −−max−count=1 −−format=\"Author: %an%nDate: %ad (%ar)%n%n %s\" −−date=format:\"%Y−%m−%d %a %H:%M\""
.IP "" 0 to set global configuration to show user´s name and email $ git config −−global −−add git−extras.info.config−grep "git config −−list | grep −−color=never −E \"^user.name|^user.email\""
.IP "" 0
EXAMPLESOutputs info about a repo: $ 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
## Submodule(s):
a234567 path2submodule1/submodule1 (branch/tag)
+ b234567 path2submodule2/submodule2 (branch/tag)
− c234567 path2submodule3/submodule3 (branch/tag)
e234567 path2submodule4/submodule4 (branch/tag)
## Most Recent Commit:
commit e3952df2c172c6f3eb533d8d0b1a6c77250769a7
Author: Sample Author <sampleAuthor@gmail.com>
Added git−info command.
## 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
.IP "" 0
AUTHORWritten by Leila Muhtasib <muhtasib@gmail.com>
REPORTING BUGS<https://github.com/tj/git−extras/issues>
SEE ALSO<https://github.com/tj/git−extras> 0
Johanes Gumabo
Data Size : 11,396 byte
man-git-info.1Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 2 / 189,285
Visitor ID : :
Visitor IP : 3.142.212.225 :
Visitor Provider : AMAZON-02 :
Provider Position ( lat x lon ) : 39.962500 x -83.006100 : x
Provider Accuracy Radius ( km ) : 1000 :
Provider City : Columbus :
Provider Province : Ohio , : ,
Provider Country : United States :
Provider Continent : North America :
Visitor Recorder : Version :
Visitor Recorder : Library :
Online Linux Manual Page : Version : Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page : Library : lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page : Library : lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base : Version : Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base : Library : lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36
Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.
ERROR : Need New Coding : (rof_IP|28|git-info.1|33|0|.IP "" 0
) (rof_IP|28|git-info.1|58|0|.IP "" 0
) (rof_IP|28|git-info.1|71|0|.IP "" 0
) (rof_IP|28|git-info.1|90|0|.IP "" 0
) (rof_IP|28|git-info.1|103|0|.IP "" 0
) (rof_IP|28|git-info.1|162|0|.IP "" 0
)