hginit.github.io

This is the original hginit.com website by Joel Spolsky. This is like an archival mirror of the original, since hginit.com is no longer up. Source code was fetched using the Wayback Machine, converted to a minimal Jekyll website, and published via GitHub Pages.

A copy of the source code was also published by @bpollack at Kiln. These are kept inside the artsrc directory.

The copyright situation is confusing, but I'd love to get this on the original website (hginit.com).

Reading

You can read the tutorial on the website at https://hginit.github.io. It is also meant to be readable at GitHub as well:

  1. Subversion Re-education
  2. Ground Up Mercurial
  3. Setting up for a Team
  4. Fixing Goofs
  5. Merging
  6. Repository Architecture

The irony of using Git/GitHub to maintain this project is not lost on me.

Changes from original

You can visit the original website via The Web Archive. Important Changes:

  • Switched edit diff system from complex divs and image tags to be more semantic and use section/del/ins tags instead.
  • Switched to System Font Stack
  • Switched to semantic HTML wherever possible:
    • Use clean (no wrapper divs) <pre> tags with <samp> and <kbd> tags to denote sample output text and input commands typed within a terminal session.
    • Avoid using img tags for border images (pre tags, and cheat tips)
    • Use dfn tags for cheat tips which define hg commands
    • Use <header/footer/main>
  • Improved favicons
  • Added open-graph meta tags.
  • Switched to markdown (WIP 🚧)
  • Removed references to Kiln
  • Fixed external links
  • Removed Google Analytics and other tracking
  • Jekyll-ized for easier edits, using includes and layouts
  • Removed all javascript.
  • Added translation links in navigation bar (Japenese, Chinese)
  • Added translation links in Sitemap
  • Reduced image sizes by optimizing the PNG files

Development

See [HACKING.md].

LICENSE

Copyright Joel Spolsky. This is just a mirror to keep it alive on the internet.

jekyll logo

Want a Jekyll website built?

Hire a Jekyll developer