git para novatos

16
Git para Novatos (desde la perspectiva de un novato) @alcenten0

Upload: nscoder-mexico

Post on 14-Jan-2017

318 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Git para novatos

Git para Novatos(desde la perspectiva de un novato)

@alcenten0

Page 2: Git para novatos

Git

1. Introduction

2. Git Basics

3. The true power of Branches

4. Mac environment - OS X Server / Xcode

Page 3: Git para novatos

Agenda

• Story of Git

• Git Basics

• Installing on Mac (¿existe otra cosa?)

• Mac setup

• Setting up a Mac environment - OS X Server

Page 4: Git para novatos

Story of Git• As with many great things in life, Git began with a bit of creative destruction

and fiery controversy.

• The Linux kernel is an open source software project of fairly large scope. For most of the lifetime of the Linux kernel maintenance (1991–2002), changes to the software were passed around as patches and archived files. In 2002, the Linux kernel project began using a proprietary DVCS called BitKeeper.

• In 2005, the relationship between the community that developed the Linux kernel and the commercial company that developed BitKeeper broke down, and the tool’s free-of-charge status was revoked.

• This prompted the Linux development community (and in particular Linus Torvalds, the creator of Linux) to develop their own tool based on some of the lessons they learned while using BitKeeper.

Page 5: Git para novatos

Story of GitSome of the goals of the new system were as follows:

• Speed • Simple design • Strong support for non-linear development (thousands of parallel

branches) • Fully distributed • Able to handle large projects like the Linux kernel efficiently (speed and

data size)

Since its birth in 2005, Git has evolved and matured to be easy to use and yet retain these initial qualities. It’s incredibly fast, it’s very efficient with large projects, and it has an incredible branching system for non-linear development

Page 6: Git para novatos

GitGit (/ɡɪt/) is a widely used version control system for software

development. It is a distributed revision control system with an emphasis on speed, data integrity, and support for distributed, non-linear workflows. Git was initially designed and developed by Linus Torvalds for

Linux kernel development in 2005.

Page 7: Git para novatos

Git Basics• Snapshots, not differences • Nearly all operations are local • Git has integrity • Git generally only adds data • “The three states” • The command line • Installing Git • First time Git setup

Page 8: Git para novatos

Local Version Control

Page 9: Git para novatos

Centralized Version Control

Page 10: Git para novatos

Distributed Version Control

Version 3

Version 2

Version 1

File

Computer A

Version Database

Version 3

Version 2

Version 1

File

Computer B

Version Database

Version 3

Version 2

Version 1

Server Computer

Version Database

Page 11: Git para novatos

Installing on Mac• ¿Existe otra cosa?

Page 12: Git para novatos

Demo

Page 13: Git para novatos

Git’s Official Sitehttps://git-scm.com

Page 14: Git para novatos

Bibliografía:Pro Git 2nd Edition

Scott Chacon

Page 15: Git para novatos

XCode Server Continuous Integration Guide https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/xcode_guide-

continuous_integration/PublishYourCodetoaSourceRepository.html

Page 16: Git para novatos

Git Video TutorialDerek Banas