SubversionにあってGitに足りないものはまだいろいろあるが、頻繁にイライラするのがsvn info
相当の欠如。git config -l
は読みづらいし情報が足りない。ちょくちょくp ../../.git/config
(p
は$PAGER
のalias)とかやりながら悶々としているのも嫌になってgit-info
を書いた。見ての通りコードはGitHubに置いたからいいと思ったら使ったりいじったりしてみて。インストールは一般ユーザで簡単。出力はこんな感じです。
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
~/src/github/git-info% git info Repository Path: /home/knu/src/github/git-info/.git Path: /home/knu/src/github/git-info Remote Repositories: origin git@github.com:knu/git-info.git Remote Branches: origin/master Local Branches: * master Repository Configuration: [core] repositoryformatversion = 0 filemode = true bare = false logallrefupdates = true [remote "origin"] url = git@github.com:knu/git-info.git fetch = +refs/heads/*:refs/remotes/origin/* Last Changed Commit ID: f4cc42ae422a25cc1032506fe248ba8f375ecf22 Last Changed Author: Akinori MUSHA <knu@idaemons.org> Last Changed Date: Thu Jun 25 23:19:59 2009 +0900 Last Changed Log: Add git-pager and git-info. |
Can you be more specific about the content of your article? After reading it, I still have some doubts. Hope you can help me.
Thank you for your sharing. I am worried that I lack creative ideas. It is your article that makes me full of hope. Thank you. But, I have a question, can you help me?