profile
Get list of git repositories from command line.
Hot:sun Get list of git repositories from command line.sun dark Get list of git repositories from command line.sun dark Get list of git repositories from command line.sun dark Get list of git repositories from command line.sun dark Get list of git repositories from command line.

Earlier I had posted a small blog on teamgit. The problem still is that you have to manually go to the git.kernel.org page and get the list of the repo’s that you can download. How about a command line to get the same. Here’s one:

wget -O – http://git.kernel.org |grep “class=.list.” |grep -v title|awk -F’>’ ‘{print $3}’|sed ‘s/</a//’

Output will be like this:

linux/kernel/git/ghaskins/linux-2.6-hacks.git
linux/kernel/git/ghaskins/preempt-test.git
linux/kernel/git/ghaskins/schedtop.git
linux/kernel/git/glommer/linux-2.6-x86-pvops.git
linux/kernel/git/gregkh/bti.git
linux/kernel/git/gregkh/ddk.git
linux/kernel/git/gregkh/driver-core-2.6.git
linux/kernel/git/gregkh/lkn.git
linux/kernel/git/gregkh/patches.git
linux/kernel/git/gregkh/tty-2.6.git
linux/kernel/git/gregkh/usb-2.6.git
linux/kernel/git/gregkh/usbutils.git
linux/kernel/git/gregkh/usbview.git
linux/kernel/git/gud/chunkfs-tools.git
linux/kernel/git/gud/chunkfs.git
linux/kernel/git/gud/fuse-chunkfs.git

linux/kernel/git/ghaskins/linux-2.6-hacks.git

linux/kernel/git/ghaskins/preempt-test.git

linux/kernel/git/ghaskins/schedtop.git

linux/kernel/git/glommer/linux-2.6-x86-pvops.git

linux/kernel/git/gregkh/bti.git

linux/kernel/git/gregkh/ddk.git

linux/kernel/git/gregkh/driver-core-2.6.git

linux/kernel/git/gregkh/lkn.git

linux/kernel/git/gregkh/patches.git

linux/kernel/git/gregkh/tty-2.6.git

linux/kernel/git/gregkh/usb-2.6.git

linux/kernel/git/gregkh/usbutils.git

linux/kernel/git/gregkh/usbview.git

linux/kernel/git/gud/chunkfs-tools.git

linux/kernel/git/gud/chunkfs.git

linux/kernel/git/gud/fuse-chunkfs.git

api
Share and Enjoy:
  • Print
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • blogmarks
  • Blogosphere News
  • co.mments
  • HelloTxt
  • Ping.fm
  • Reddit
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Technorati
  • Twitter
  • Yahoo! Bookmarks
  • Add to favorites
  • BlinkList
  • Diigo
  • email
  • Identi.ca
  • LinkedIn
  • Live
  • MyShare
  • MySpace
  • PDF
  • SheToldMe
  • Slashdot
  • Socialogs
  • Tumblr

related post

CBA0E3ABEB1A7038A3FD2A47BA03BC1B Get list of git repositories from command line.

Technorati Tags: bash, git, kernel, one liner, repos

You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

No comments yet, be the first!

Leave a reply

Back to top

research
careers