1GIT-INFO(1)                       Git Extras                       GIT-INFO(1)
2
3
4

NAME

6       git-info - Returns information on current repository
7

SYNOPSIS

9       git-info
10

DESCRIPTION

12       Shows the following information about a repository:
13
14       1.  Remote Url(s)
15
16       2.  Remote Branches
17
18       3.  Local Branches
19
20       4.  Most recent commit
21
22       5.  Configuration Info
23
24
25

OPTIONS

27       N/A
28

EXAMPLES

30       Outputs info about a repo:
31
32
33
34           $ git info
35
36           ## Remote URLs:
37
38           origin      git@github.com:sampleAuthor/git-extras.git (fetch)
39           origin      git@github.com:sampleAuthor/git-extras.git (push)
40
41           ## Remote Branches:
42
43           origin/HEAD -> origin/master
44           origin/myBranch
45
46           ## Local Branches:
47
48           myBranch
49           * master
50
51           ## Most Recent Commit:
52
53           commit e3952df2c172c6f3eb533d8d0b1a6c77250769a7
54           Author: Sample Author <sampleAuthor@gmail.com>
55
56           Added git-info command.
57
58           Type ´git log´ for more commits, or ´git show <commit id>´ for full commit details.
59
60           ## Configuration (.git/config):
61
62           color.diff=auto
63           color.status=auto
64           color.branch=auto
65           user.name=Sample Author
66           user.email=sampleAuthor@gmail.com
67           core.repositoryformatversion=0
68           core.filemode=true
69           core.bare=false
70           core.logallrefupdates=true
71           core.ignorecase=true
72           remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
73           remote.origin.url=git@github.com:mub/git-extras.git
74           branch.master.remote=origin
75           branch.master.merge=refs/heads/master
76
77
78

AUTHOR

80       Written by Leila Muhtasib <muhtasib@gmail.com>
81

REPORTING BUGS

83       <https://github.com/tj/git-extras/issues>
84

SEE ALSO

86       <https://github.com/tj/git-extras>
87
88
89
90                                 October 2017                      GIT-INFO(1)
Impressum