Upload
abhishek-kant
View
319
Download
2
Embed Size (px)
DESCRIPTION
Git is the new source control system getting widely adopted. This presentation starts with basics of Git technology and suggests strategies for Git adoption (e.g. developer workflow, project management, migration)
Citation preview
Leveraging the Git Source Control for Enterprise Projects
Presenter
Abhishek Kant / अभि�षे�क क�न्त
–Country Manager – India–B.E. MBA.–MCAD. Certified Scrum Master.–Satyam Computers. Microsoft Corp.–Technology. Marketing. –@abhishekkant.
Contact:[email protected] Phone: +91-124-4300987/ 996
Agenda
Integrating Project Management with Git
Git Branching
Collaboration using Remote Git
Working with Git Locally
Understanding Git
Understanding Git
• What is Git ?A Distributed Version Control System (DVCS)Local versioning system for all filesSnapshot StorageAll or nothing updates (no increments) –
• Installing & Configuring on Windowshttp://msysgit.github.io/http://git-scm.com/downloads
• Git Tools:Git GUIGitkKDiff3
Available for: • Windows• Linux• MacOS
Git Workflow
Add File Stage File
Commit Changes
et
Checkout Changes
Working with Git Locally
• Initializing a folder as a Git folder
• Git WorkflowAdding filesStaging & Committing ChangesRevert Change
• Viewing History & Diff• Cleaning files
Git cleanGit reset .gitignore
Git logGit status
Git Branching
• Start a Branch• Tags• Merging Branches
Fast Forward Merge3 Way Merge
Collaboration using Remote Git
• Define Remote Alias• Clone a Repo• Pull a Repo• Push a Repo• Git Protocols
FileGitSSHHTTP
Commercial Git Repository providers:• BitBucket• GitHub
Enterprise Git Workflows
• Central Workflow• Feature Branch Workflow• Pull Request Workflow
Integrating Project Management with Git
• Best of Management with Source Control
• Create individual feature branches for each feature
• Associate code commits with work items
• Update status from check-in comments
• Log time through the Git commit comments
#1234 status: "In Progress" time:1.5
Migration to Git – Simplified Version
Sync Complete Repo to local Git folder
Maintain One way sync from
Repo to Git
Make Git available
over Network
Cutout to Git
CI with Git
• Most CI environments support Git:• Jenkins• CruiseControl• Octopus• TeamCity
Questions