Pro Yearly is on sale from $80 to $50! »

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/

32ef4e3e388cbadc756a008cade3ee6a?s=128

Janos Gyerik

June 16, 2013
Tweet

Transcript

  1. (Even if you don't use Git...yet) Cool features of GitHub

  2. This presentation is not really about It's really about

  3. = ? ? =

  4. =repository of source code (DVCS) site to host git site

    to collaborate =
  5. =

  6. is mainly for ... but at the same time ...

    (I guess...)
  7. ... it's also much more ... wiki gists markdown ...

    gh-pages issue tracking
  8. gists? * Short code snippets * Random notes

  9. -- "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...
  10. ...gists for other random stuff...

  11. Clone https://gist.github.com/ID.git <script src= "https://gist.github.com/USER/ID.js"> </script> https://gist.github.com/USER/ID Embed Link

  12. ...mmm too many gists piling up? perhaps it's time to

    create a repo?
  13. None
  14. Add files right there... Edit files right there...

  15. markdown

  16. github flavored markdown ```javascript function fancyAlert(arg) { if (arg) {

    $.facebox({div:'#foo'}) } } ``` function fancyAlert(arg) { if (arg) { $.facebox({div:'#foo'}) } }
  17. Press "m"

  18. # 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...
  19. wiki! * can clone it * edit on GitHub or

    locally * use any wikitext * atom feed = https://github.com/USER/PROJECT.wiki.git
  20. 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/
  21. NONE of the above is a primary function of GitHub...

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

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

    484000 1.3m 3.4m 6.5m # of repositories
  24. 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
  25. 'nuff said!

  26. https://github.com/features https://speakerdeck.com/holman/git-and-github- secrets https://speakerdeck.com/holman/scaling-github https://speakerdeck.com/holman/how-github-uses- github-to-build-github https://github. com/janosgyerik/articles/tree/master/cool-features-of- github