16
Ronald Roni Saha [email protected] Sr. System Developer, SoftwarePeople Selecting your Version Control

Selecting your Version Control

Embed Size (px)

Citation preview

Page 1: Selecting your Version Control

Ronald Roni [email protected]

Sr. System Developer, SoftwarePeople

Selecting your Version Control

Page 2: Selecting your Version Control

Problem

Page 3: Selecting your Version Control

ProblemHave you ever faced situations like the followings? Commented out codes. Maintain multiple versions of same project. Share your code, or work in a team on same code. Experimenting with a new feature without interfering with

working code Lost code or hard disk crashed or had a backup that was

too old. Made a change to code, realized it was a mistake and

wanted to revert back. Want to see the difference between two (or more) versions

of your code.

Page 4: Selecting your Version Control

Version ControlA version control system (also known as a Revision Control System) is a repository of files, often the files for the source code of computer programs, with monitored access. Every change made to the source is tracked, along with who made the change, why they made it, and references to problems fixed, or enhancements introduced, by the change.

Types of Version Control Centralized version control systems Distributed version control systems

Page 5: Selecting your Version Control

Version ControlTerminology Repository Working Copy Revision/Version Trunk/Master Branch Head Check out/Check in - Pull changes/Push changes Commit changes

Page 6: Selecting your Version Control

Version Control

Page 7: Selecting your Version Control

Version ControlBenefits in using Version Control What, who, why and when Compare revision Coordinating Teams Branching Backup History of changes

Page 8: Selecting your Version Control

Using Git as your Version Control

Git It is free and Open Source. It is cross-platform. It is a distributed version control system. You can work offline. You can make changes commit in local repository. Shelving or stashing is done locally. Creating branch is very easy to do.

Page 9: Selecting your Version Control

Using Git - Install Git

Page 10: Selecting your Version Control

Using Git - Create New Repository

Page 11: Selecting your Version Control

Using Git – Setting up user

Page 12: Selecting your Version Control

Using Git – Setting up user

Page 13: Selecting your Version Control

Using Git – Basic Steps

Page 14: Selecting your Version Control

Using Git – History

Page 16: Selecting your Version Control

Thank You