Upload
gregory-borodaty
View
757
Download
2
Embed Size (px)
Citation preview
aumnia.com
your automated mobile and interactive application partnertwitter.com/aumnia
facebook.com/aumnia
aumnia.com/blog
Saving Your Code with Git
Gregg Borodaty – Aumnia, Inc.January 13, 2016
aumnia.comThe Agenda
1. Git – what exactly is it?2. Git and Github3. Getting started with Git4. Starting a repository5. Basic commands (add, status, commit, log, diff)6. Branching7. Resources
aumnia.comQ: What is Git?
http://git-scm.com/
A: A powerful version control system
aumnia.comThe History of GitCreated in 2005Designed and developed by Linux kernel developers (including Linus Torvalds) for Linux kernel development
Created as an alternative to Bitkeeper when the owner of that product eliminated free usage of the product
Three key characteristics• Use CVS as an example of what not to do• Support a distributed workflow• Include strong safeguards against corruption
Source: https://en.wikipedia.org/wiki/Git_(software)
aumnia.comQ: Don’t I have to use GitHub?
GitHub is a Git repository hosting service
You can run GitHub locally on your own machine, you can host your own Git server, or you can use other services like Atlassian’s BitBucket (https://bitbucket.org/)
However, there are so many open source projects and resources on GitHub, that it is a great place to collaborate and share code
A: No, you do not
aumnia.comTo get started, go to the Git site
https://git-scm.com/downloads
aumnia.comWhat did we do?
Created a repository – git initAdded files – git addCommitted them to source control – git commitReviewed file changes – git status, git diffChecked the version history – git logCreated a branch – git checkoutMerged a branch – git merge
This is just the beginning – there is so much more you can do!
aumnia.comResourcesDocs:https://git-scm.com/doc
Learn Git:https://try.github.io/https://www.codecademy.com/learn/learn-git
Git hosting services:https://github.com/https://bitbucket.org/
aumnia.comResourcesTons of books, online resources, tutorials, opinions, etc.
Here are a few to get you started on your journey:http://toroid.org/ams/git-central-repo-howtohttp://sethrobertson.github.com/GitBestPractices/http://nvie.com/posts/a-successful-git-branching-model/
aumnia.comFor more information about Aumnia: http://www.aumnia.com
For more information about me:http://greggborodaty.comhttps://www.linkedin.com/in/gregoryborodaty
Thank you!