Presentation is loading. Please wait.

Presentation is loading. Please wait.

Intro to Git and GitHub Version Control using Git Carol Schofield

Similar presentations


Presentation on theme: "Intro to Git and GitHub Version Control using Git Carol Schofield"— Presentation transcript:

1 Intro to Git and GitHub Version Control using Git Carol Schofield
Developer, ThoughtWorks

2 Version Con---what?

3 What is Version Control /Source Control ?
.

4 What is Git? Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Created by Linus Torvalds

5 Is Git for Me? Use git to manage your code locally & store it remotely
Use git to work with others Use git to manage other projects: Writing, Blogging, Poetry Recipes Travel Logging Musical Composition Legal Documents Put git on your resume! Source:

6 Got 15-30 minutes and want to learn git?
git init git status git add git commit git log

7

8 You can Git Power Moves Checkout earlier versions Un-do changes
Work on multiple versions at the same time Incorporate the work of others Re-write history

9 Let’s Get Distributed: GitHub
GitHub is a code hosting platform for version control and collaboration. Free account, free public storage Collaborate with others Use GitHub in the browser! OCTOCAT! Source: !

10

11 Contribute (pull requests)
Git Social with GitHub Follow people Watch projects Learn (try forking) Contribute (pull requests)

12 Wow! No installation needed! Create an account Create a repository
Create and modify your project via the browser Wow! No installation needed! Create an account Create a repository Make changes Make a commit

13 All OS: https://git-scm.com/downloads Mac: Brew: http://brew.sh/
Installing Git All OS: Mac: Brew: Linux: sudo apt-get install git Windows: GUI: Graphical User Interfaces The link for windows is great- bash emulator or GUI The all Operating systems link offers downloads for all OS If you use homebrew- package manager for Mac Git’s instructions:

14 Learn how to go back to the past (get out of trouble) Undo changes
The FUTURE…. Learn how to go back to the past (get out of trouble) Undo changes Merge your work with others More FUN!

15 Other Sources http://rogerdudler.github.io/git-guide/
Google is your friend (or Try DuckDuckGo or another alternate search engine)

16 GitHub Create a git repository locally and push it to GitHub
Create a project on GitHub and clone it locally Create and work on your projects via your browser

17 Fork a Repo

18


Download ppt "Intro to Git and GitHub Version Control using Git Carol Schofield"

Similar presentations


Ads by Google