Hacker News new | ask | show | jobs
by foul 881 days ago
If you don't care about issues or wikis, it's now time to create a habit for using the command line (or the dillo plugin which automates this process):

  dir=$(mktemp -d)
  git clone --no-checkout --depth 1 https://github.com/torvalds/linux.git $dir
  cd $dir
  git ls-tree -r HEAD
  git checkout HEAD -- README.md ; less README.md
  # etc.
  # if you just wished to take a gander at the repo...
  cd
  rm -rf $dir
Yeah if you don't have a *nix-something it'd be harder, yeah you must have some spare space but usually the git bare repo shallow-cloned (downloaded only the latest revision) is under 1MB. Whatever.