Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Get better at Git - Applying version control to...

Get better at Git - Applying version control to publishing

Matthew McCullough and Tim Berglund present a demonstration and workflow for using GitHub's version control and collaboration platform for writing endeavors. These efforts are shown to be compatible with many publishing toolchains, including support for the Markdown and Asciidoc formats.

Matthew McCullough

February 12, 2013
Tweet

More Decks by Matthew McCullough

Other Decks in Programming

Transcript

  1. Matthew.... @matthewmccull ‣Open source contributor ‣O'Reilly Git Video Co-instructor ‣Co-Author

    of O'Reilly's Git book ‣5-year Git trainer ‣Instructor at GitHub
  2. v1 v2 v3 v4 File A File B File C

    File A File B File B File C v5 File A File B File B File A File A File C File C File C
  3. # Legacy project tree $ cd existingproject $ git init

    # Add all the code $ git add . $ git commit -m”Initial import”
  4. tree tree: 7e8b1 web blob: 9ab16 index.html a10b3 tree blob:

    8d162 logo.jpg blob: 51d22 draw.js 7e8b1 commit tree: a10b3 parent: nil author: Fird committer: Matthew message: Major refactoring of the web content. c67db blob <html> <body></body> </html> 9ab16 blob //Some more javascript var renderSize 51d22 blob 7D 8D B3 7F BD 12 9F E9 7B 78 9D 3F 5C A6 72 CB 8d162
  5. Certified Repo Development Repo n t e g r a

    t i o n M a n a g e d Continuous Integration Server
  6. C u s t o m + P u b

    l i c C o n t r i b Customized ☚ Private Public ☛ GitHub
  7. Mirror Development Repo M i r r o r e

    d Mirror Certified Repo
  8. data from http://whygitisbetterthanx.com/#git-is-fast git svn Init git svn Status git

    svn Diff git svn Tag git svn Log git svn Commit (Lg) git svn Commit (Sm) git c svn c Branch Speed
  9. "This is so important, we can't entrust it to automation.

    We need our top developer to supervise it."