[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
git-info
Using git, I'm lamenting an equivalent to "svn info" to tell me things like
where I mirrored this repository from and stuff. I found a shell script that
tries to do something similar for git, rewrote it in perl, wrapped it in a
pager and here it is.
http://schwern.org/src/git-info
Patches welcome.
0 windhund ~/devel/bleadperl$ git-info
== Remote URL ==
origin git@perl5.git.perl.org:perl.git
== Remote Branches ==
origin/HEAD
origin/blead
origin/help
origin/maint-1
origin/maint-5.004
origin/maint-5.005
origin/maint-5.10
origin/maint-5.6
origin/maint-5.8
origin/master
origin/ohloh-insane-octopus
origin/p4/ansiperl
origin/p4/asperl
origin/p4/blead-maint-fixup/perl
origin/p4/bugs
origin/p4/cfgperl
origin/p4/confperl
origin/p4/lexwarn/perl
origin/p4/macperl
origin/p4/mainline/perl
origin/p4/maint-5.004/perl
origin/p4/maint-5.005/perl
origin/p4/maint-5.10/perl
origin/p4/maint-5.6/macperl
origin/p4/maint-5.6/perl
origin/p4/maint-5.6/perl-5.6.2
origin/p4/maint-5.6/pureperl
origin/p4/maint-5.8/macperl
origin/p4/maint-5.8/perl
origin/p4/metaconfig
origin/p4/oneperl
origin/p4/perl
origin/p4/perlext/Compiler
origin/p4/perlext/Thread
origin/p4/perlext/jpl
origin/p4/perlio
origin/p4/relperl
origin/p4/thrperl
origin/p4/utfperl
origin/p4/vmsperl
origin/p4/win32/perl
origin/samv/blead
origin/samv/maint-5.8
origin/samv/master
origin/y2038
== Local Branches ==
master
* y2038
== Configuration ==
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remote "origin"]
url = git@perl5.git.perl.org:perl.git
fetch = +refs/heads/*:refs/remotes/origin/*
push = y2038
[branch "master"]
remote = origin
merge = refs/heads/master
[branch "y2038"]
remote = origin
merge = refs/heads/y2038
== Most Recent Commit ==
commit 181b7a6018540bc2399323a688de4a9f883a534e
Author: Michael G. Schwern <schwern@pobox.com>
Date: Fri Oct 10 10:06:15 2008 -0400
Don't need Config.pm any more
--
164. There is no such thing as a were-virgin.
-- The 213 Things Skippy Is No Longer Allowed To Do In The U.S. Army
http://skippyslist.com/list/
- Follow-Ups from:
-
Aristotle Pagaltzis <pagaltzis@gmx.de>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]