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

Cool features of GitHub

Cool features of GitHub

This presentation is about some of the amazing features of GitHub. The target audience is folks who might not know Git and GitHub very well, or not at all. The features can be very useful even for them, and by starting to use GitHub, they just might actually be on the fast track to becoming full-time Git users, who knows...
http://www.janosgyerik.com/cool-features-of-github/

Janos Gyerik

June 16, 2013
Tweet

More Decks by Janos Gyerik

Other Decks in Technology

Transcript

  1. =

  2. -- "create" a user in MySQL GRANT ALL PRIVILEGES ON

    dbname.* TO 'dbuser'@localhost IDENTIFIED BY 'userpass'; /* CSS media query: apply if width < 980px */ @media (max-width: 980px) { body { padding-top: 0; } } // where the hell my log4j settings come from?? System.out.println(Loader.getResource("log4j.properties")); System.out.println(Loader.getResource("log4j.xml")); ...gists for random code snippets...
  3. github flavored markdown ```javascript function fancyAlert(arg) { if (arg) {

    $.facebox({div:'#foo'}) } } ``` function fancyAlert(arg) { if (arg) { $.facebox({div:'#foo'}) } }
  4. # naturally: git clone https://github.com/USER/PROJECT.git # ...but also: svn checkout

    https://github.com/USER/PROJECT.git # that's right, you can use Subversion too with GitHub!!! btw...
  5. wiki! * can clone it * edit on GitHub or

    locally * use any wikitext * atom feed = https://github.com/USER/PROJECT.wiki.git
  6. gh-pages? = static html hosting = project demo page Step

    1: create branch: gh-pages Step 2: git push to GitHub Step 3: http://USER.github.io/PROJECT/
  7. NONE of the above is a primary function of GitHub...

    These are "just" the "extras"! ... but the truth is ...
  8. GitHub is popular 2008 2009 2011 2010 2012 2013 42000

    166000 510000 1.2m 1.9m # of users
  9. GitHub is huge 2008 2009 2011 2010 2012 2013 80000

    484000 1.3m 3.4m 6.5m # of repositories
  10. GitHub is rock solid * GitHub is upgraded 20-40 times

    per day * GitHub is faster than your website * GitHub has better uptime than your website