Git and Github

Post on 23-Jul-2015

140 views 0 download

Tags:

transcript

Only What Non-Developers Need to Know About Git and

Github(and maybe a little more)

by Max Beizer23 July 2014

whoami

● Developer @ Centresource

● @maxbeizer (everywhere)

● About two years of using Git and

github.com heavily

Wait-- Git and github are not the same thing?

Wait-- Git and github are not the same thing?

is not

The Elevator History of Git

It all begins with this super-nerd:

Linus Torvalds

(this is actually the best picture I could find of him)

The Elevator History of Git

Actually this one pretty much says it:

Linus Torvalds

The Elevator History of Git

Linux vs. BitKeeper

(the Linux penguin’s name is Tux)

The Elevator History of Git

In 2005, Git is born. Cool, bro, but what is it?

Software that creates a graph for version control

The Glory of Git

The Glory of Git

Why Git is a developer’s best friend:

Once it’s on the graph, it’s ALWAYS on the graph

*sort of

A Couple Quick Terms

Repository

A Couple Quick Terms

Commit

A Couple Quick Terms

Branch

A Couple Quick Terms

Remote

A Couple Quick Terms

Push

A Couple Quick Terms

Pull

A Couple Quick Terms

Pull Request

Don’t Freak Out

An example SHA-1:

24b9da6552252987aa493b52f8696cd6d3b00373

Don’t Freak Out

What I’m actually doing all day:

Let’s Take a Deep Breath

Embrace the Octocat

Embrace the Octocat

An apt analogy:

Elevator History of Github

Did you know developers like to drink?

tom preston-werner chris wanstrath

Elevator History of Github

Kind of a Big Deal These Daysgithub growth

● First commit to Github: Friday, October 19, 2007 at 10:24pm

● On 21 September 2011, reached over 1 million users

● On 16 January 2013, 3 million users and hosting more than 5

million repositories.

source: wikipedia :(

Kind of a Big Deal These DaysOn an average day on GitHub.com

● 140GB of new data is pushed

● 125k repositories are updated

● 10k people push their very first repository to GitHub.com

● 25k repositories are created

● 7k pull requests are created

● 10k people join GitHub.com

source: http://github-media-downloads.s3.amazonaws.com/GitHub.Quick.Facts.pdf

Kind of a Big Deal These DaysThe following are open for anyone to read and contribute to

Kind of a Big Deal These DaysThe following are open for anyone to read and contribute to

Kind of a Big Deal These DaysThe following are open for anyone to read and contribute to

Kind of a Big Deal These DaysThe following are open for anyone to read and contribute to

Kind of a Big Deal These DaysThe following are open for anyone to read and contribute to

The list goes on and on…

Kind of a Big Deal These Days

For today’s developer, your github profile

is your resume.

*not everyone agrees

Kind of a Big Deal These DaysCompetitors still exist out there

Cool Story, Bro. Why Do I Care?At Centresource, Git and github have become essential tools.

They are so fundamental to how our production team works that we take them for granted.

In short, Git and github allow us to have…

Security

Communication

Collaboration

Cool Story, Bro. Why Do I Care?

Cool Story, Bro. Why Do I Care?At Centresource, we also

leverage the power of Git for deployment

whiskey_diskfor embarrassingly fast deployments

Cool Story, Bro. Why Do I Care?

Some people think git and github canchange the very nature of democracy.

http://www.ted.com/talks/clay_shirky_how_the_internet_will_one_day_transform_government

Credit Where Credit is Due1. http://git-scm.com/2. http://github.com/3. The more senior developers at Centresource4. The Nashville development community, as a whole

1. http://git-scm.com/2. http://github.com/3. http://www.businessinsider.com/twitter-linux-foundation-silver-member-2012-84. http://vizzzion.org/blog/2013/07/standing-up-against-verbal-abuse/5. http://www.tehnozona.net/instalacija-linux-a/6. http://git-scm.com/book/en/Getting-Started-Git-Basics7. http://homes.cs.washington.edu/~mernst/advice/version-control.html8. http://www.smartambala.com/funny-banana-hug-art/9. http://www.spike.com/articles/bh3gru/repo-games-the-top-five-pop-culture-repo-men

10. http://www.someecards.com/usercards/viewcard/MjAxMi1jNTAwOGVmZDUyNTlhZWUy11. http://www.laughparty.com/funny-pictures/PUSH-960.jpg12. http://muttstuff.blogspot.com/2011/04/to-tug-or-not-to-tug-that-is-question.html13. http://www.lolhome.com/img_big/funny-picture-1317866992.jpg14. http://www.gonewiththetwins.com/pages/2006/screenshots/click/001.jpg15. http://www.talkstorymedia.net/wp-content/uploads/2011/10/press-release.jpg16. http://homes.cs.washington.edu/~mernst/advice/version-control.html17. http://git-scm.com/book/en/Getting-Started-Git-Basics18. http://www.heathersaba.com/76/19. http://octodex.github.com/20. http://tom.preston-werner.usesthis.com/21. http://chris.wanstrath.usesthis.com/22. http://www.thehartmangrouppr.com/blog/wp-content/uploads/2011/09/Generic-Logo.5x5.jpg23. http://www.icanlocalize.com/site/2010/08/rails-translation-made-easy/24. http://commons.wikimedia.org/wiki/File:Ruby_on_Rails-logo.png25. https://drupal.org/files/images/OQAAAI1PPrJY0nBALB7mkvju3mkQXqLmzMhxEjeb4gp8aujEUQcLfLyy-Sn4gZdkAas6-k8eYbQlGDE-

GCjKfF5gIrUA15jOjFfLRv77VBd5t-WfZURdP9V3PdmT.png26. http://cdn3.crunchify.com/wp-content/uploads/2013/05/bitbucket_logo-Crunchify-Tips.png27. https://blog.heroku.com/archives/2010/11/5/hug-recap28. http://www.etsy.com/listing/103337359/if-you-were-in-my-novel-t-shirt?ref=market29. http://themetapicture.com/the-best-to-do-list/

Image credits