SlideShare une entreprise Scribd logo
1  sur  14
Télécharger pour lire hors ligne
Source Code Management

          Widoyo
    <widoyo@gmail.com>
Agenda

 Software Characteristic
 Software Changes
 Traditional Method
 Version Control
 Distributed Version Control
 Centralized Version Control
 Branching
 Common Term in SCM
 Daily use of git
Software Characteristic

  Software running well on a certain condition
  Software are easy to break
  Software are easy to modify
  Software are an abstract things
  Bugs may be found at later time
Software Changes

 New Features
 Found Bugs
 Environment changes
 Request to change
Traditional Method

  Save into New name or Save the old one into archive name
  Making new directory to hold the old one
  Problems:
     No standard way to log changes
     Difficult to identify which the fresh (newest) one
     More complicated when working on Team


                          coba-asli.php
                          /aplikasi-v1/
                          /aplikasi-v2/
                          mycode-060908.rb
                          mycode-020908.rb
Version Control

  To log changes
  To prevent overwriting each other
  To tag a set of software code, release code
  As a code repository
Centralized Version Control

  Code repository are reside on a central place
  Ideal for Team that working on the same project
  Product examples:
     Concurrent Version System (CVS)
     Subversion (SVN)
     Source Safe?
Distributed Version Control

  Repository are placed any where
  Ideal for individual developer or small project
  Product examples (most of them are centralized too):
     GIT
     Bazaar
     Mercurical
Branching

a line of development that exists independently of another line,
yet still shares a common history
Common Term in SCM
 Repository --Storage of current and historical code
 Check-in / Commit -- commit changes, write log
 Check-out -- getting the source
 Branch -- making different line of development
 Conflict, Resolve --changes are made on the same source
 Baseline, Trunk, Master -- Main line of development
 Tag -- labeling snapshot of source
 Log --notes given by developer on changes
 Head -- the most recent commit
 Revision, Version --state at point in time
 Import -- copying local directory tree into repository
 Export --similar to checkout without metadata ofversion
 control
Daily Use of GIT

  Initiate repository
  import project (file(s) or Directory)
  checkout
  code - test iteration
  Commit - writing logs here
  Tag - labeling
  Branch
  Merge
  Log
  Diff
Starting Using git

  Install, ONLY available on Linux:(
  Write your code
  Initiate Repository
  Add your code into repo
  code-compile-test
  Commit the changes
  Tag
  and ... JUST Use it!
< 10 minutes
                       git show
my hello Project
Further Reading

http://www.kernel.org/pub/software/scm/git/docs/


                          Thank you

Contenu connexe

Tendances

SVN Best Practices
SVN Best PracticesSVN Best Practices
SVN Best Practices
abackstrom
 
SVN Usage & Best Practices
SVN Usage & Best PracticesSVN Usage & Best Practices
SVN Usage & Best Practices
Ashraf Fouad
 

Tendances (20)

Version Control with SVN
Version Control with SVNVersion Control with SVN
Version Control with SVN
 
Version control
Version controlVersion control
Version control
 
SVN Best Practices
SVN Best PracticesSVN Best Practices
SVN Best Practices
 
SVN Basics
SVN BasicsSVN Basics
SVN Basics
 
Git the fast version control system
Git the fast version control systemGit the fast version control system
Git the fast version control system
 
Introduction to Subversion
Introduction to SubversionIntroduction to Subversion
Introduction to Subversion
 
SVN Best Practices
SVN Best PracticesSVN Best Practices
SVN Best Practices
 
Svn Basic Tutorial
Svn Basic TutorialSvn Basic Tutorial
Svn Basic Tutorial
 
Source Code management System
Source Code management SystemSource Code management System
Source Code management System
 
Version Control with Subversion
Version Control with SubversionVersion Control with Subversion
Version Control with Subversion
 
SVN Usage & Best Practices
SVN Usage & Best PracticesSVN Usage & Best Practices
SVN Usage & Best Practices
 
Version Control and Continuous Integration
Version Control and Continuous IntegrationVersion Control and Continuous Integration
Version Control and Continuous Integration
 
Getting Started With Subversion
Getting Started With SubversionGetting Started With Subversion
Getting Started With Subversion
 
Version control, issue tracking and communication
Version control, issue tracking and communicationVersion control, issue tracking and communication
Version control, issue tracking and communication
 
Version control and GIT Primer
Version control and GIT PrimerVersion control and GIT Primer
Version control and GIT Primer
 
Git an introductino
Git an introductinoGit an introductino
Git an introductino
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Subversion workshop
Subversion workshopSubversion workshop
Subversion workshop
 
Nguyễn Vũ Hưng: Subversion best practices
Nguyễn Vũ Hưng: Subversion best practicesNguyễn Vũ Hưng: Subversion best practices
Nguyễn Vũ Hưng: Subversion best practices
 
Subversion User Guide
Subversion User GuideSubversion User Guide
Subversion User Guide
 

En vedette

Kewirausahaan
KewirausahaanKewirausahaan
Kewirausahaan
Widoyo PH
 
Masih m bajak software
Masih m bajak software  Masih m bajak software
Masih m bajak software
Widoyo PH
 
Easy Web Project Development & Management with Django & Mercurial
Easy Web Project Development & Management with Django & MercurialEasy Web Project Development & Management with Django & Mercurial
Easy Web Project Development & Management with Django & Mercurial
Widoyo PH
 
Facebook Marketing Automation for Real Estate
Facebook Marketing Automation for Real EstateFacebook Marketing Automation for Real Estate
Facebook Marketing Automation for Real Estate
Inman News
 

En vedette (20)

Python - Telegram
Python - TelegramPython - Telegram
Python - Telegram
 
Computer vision, machine, and deep learning
Computer vision, machine, and deep learningComputer vision, machine, and deep learning
Computer vision, machine, and deep learning
 
Processor, Compiler and Python Programming Language
Processor, Compiler and Python Programming LanguageProcessor, Compiler and Python Programming Language
Processor, Compiler and Python Programming Language
 
Kewirausahaan
KewirausahaanKewirausahaan
Kewirausahaan
 
Unit Testing
Unit TestingUnit Testing
Unit Testing
 
Masih m bajak software
Masih m bajak software  Masih m bajak software
Masih m bajak software
 
Easy Web Project Development & Management with Django & Mercurial
Easy Web Project Development & Management with Django & MercurialEasy Web Project Development & Management with Django & Mercurial
Easy Web Project Development & Management with Django & Mercurial
 
Buku kecil coffee script
Buku kecil coffee scriptBuku kecil coffee script
Buku kecil coffee script
 
Software Project Management
Software Project ManagementSoftware Project Management
Software Project Management
 
Langkah-langkah Membuat Software Aplikasi
Langkah-langkah Membuat Software AplikasiLangkah-langkah Membuat Software Aplikasi
Langkah-langkah Membuat Software Aplikasi
 
Facebook Marketing Automation for Real Estate
Facebook Marketing Automation for Real EstateFacebook Marketing Automation for Real Estate
Facebook Marketing Automation for Real Estate
 
How Computer Vision is Reshaping Real Estate Search - Andrew Flachner
How Computer Vision is Reshaping Real Estate Search - Andrew FlachnerHow Computer Vision is Reshaping Real Estate Search - Andrew Flachner
How Computer Vision is Reshaping Real Estate Search - Andrew Flachner
 
Computer Vision
Computer VisionComputer Vision
Computer Vision
 
Computer vision
Computer visionComputer vision
Computer vision
 
An Introduction to Computer Vision
An Introduction to Computer VisionAn Introduction to Computer Vision
An Introduction to Computer Vision
 
COM2304: Introduction to Computer Vision & Image Processing
COM2304: Introduction to Computer Vision & Image Processing COM2304: Introduction to Computer Vision & Image Processing
COM2304: Introduction to Computer Vision & Image Processing
 
Computer Vision Introduction
Computer Vision IntroductionComputer Vision Introduction
Computer Vision Introduction
 
"Computer Vision and Artificial Intelligence: Market Trends and Implications,...
"Computer Vision and Artificial Intelligence: Market Trends and Implications,..."Computer Vision and Artificial Intelligence: Market Trends and Implications,...
"Computer Vision and Artificial Intelligence: Market Trends and Implications,...
 
Computer Vision Crash Course
Computer Vision Crash CourseComputer Vision Crash Course
Computer Vision Crash Course
 
Computer Vision
Computer VisionComputer Vision
Computer Vision
 

Similaire à Source code management

Embracing Distributed Version Control
Embracing Distributed Version ControlEmbracing Distributed Version Control
Embracing Distributed Version Control
Nowell Strite
 

Similaire à Source code management (20)

Git Workflows
Git WorkflowsGit Workflows
Git Workflows
 
Subversion
SubversionSubversion
Subversion
 
Intro To Version Control
Intro To Version ControlIntro To Version Control
Intro To Version Control
 
Version control system and Git
Version control system and GitVersion control system and Git
Version control system and Git
 
How to use CVS applied to SOLab
How to use CVS applied to SOLabHow to use CVS applied to SOLab
How to use CVS applied to SOLab
 
Git and GitFlow branching model
Git and GitFlow branching modelGit and GitFlow branching model
Git and GitFlow branching model
 
Source control - what you need to know
Source control - what you need to knowSource control - what you need to know
Source control - what you need to know
 
CS_Note_Introduction to Git Workflow.pdf
CS_Note_Introduction to Git Workflow.pdfCS_Note_Introduction to Git Workflow.pdf
CS_Note_Introduction to Git Workflow.pdf
 
What the Git? - WordCamp Atlanta
What the Git? - WordCamp AtlantaWhat the Git? - WordCamp Atlanta
What the Git? - WordCamp Atlanta
 
Embracing Distributed Version Control
Embracing Distributed Version ControlEmbracing Distributed Version Control
Embracing Distributed Version Control
 
Introduction to Version Control
Introduction to Version ControlIntroduction to Version Control
Introduction to Version Control
 
Version control with git
Version control with gitVersion control with git
Version control with git
 
SQL Server DevOps Jumpstart
SQL Server DevOps JumpstartSQL Server DevOps Jumpstart
SQL Server DevOps Jumpstart
 
SVN Information
SVN Information  SVN Information
SVN Information
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
01 - Git vs SVN
01 - Git vs SVN01 - Git vs SVN
01 - Git vs SVN
 
Version control with GIT
Version control with GITVersion control with GIT
Version control with GIT
 
ClearCase Basics
ClearCase BasicsClearCase Basics
ClearCase Basics
 
Software Build processes and Git
Software Build processes and GitSoftware Build processes and Git
Software Build processes and Git
 
Git Educated About Git - 20 Essential Commands
Git Educated About Git - 20 Essential CommandsGit Educated About Git - 20 Essential Commands
Git Educated About Git - 20 Essential Commands
 

Dernier

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 

Dernier (20)

DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024AXA XL - Insurer Innovation Award Americas 2024
AXA XL - Insurer Innovation Award Americas 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUKSpring Boot vs Quarkus the ultimate battle - DevoxxUK
Spring Boot vs Quarkus the ultimate battle - DevoxxUK
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 

Source code management

  • 1. Source Code Management Widoyo <widoyo@gmail.com>
  • 2. Agenda Software Characteristic Software Changes Traditional Method Version Control Distributed Version Control Centralized Version Control Branching Common Term in SCM Daily use of git
  • 3. Software Characteristic Software running well on a certain condition Software are easy to break Software are easy to modify Software are an abstract things Bugs may be found at later time
  • 4. Software Changes New Features Found Bugs Environment changes Request to change
  • 5. Traditional Method Save into New name or Save the old one into archive name Making new directory to hold the old one Problems: No standard way to log changes Difficult to identify which the fresh (newest) one More complicated when working on Team coba-asli.php /aplikasi-v1/ /aplikasi-v2/ mycode-060908.rb mycode-020908.rb
  • 6. Version Control To log changes To prevent overwriting each other To tag a set of software code, release code As a code repository
  • 7. Centralized Version Control Code repository are reside on a central place Ideal for Team that working on the same project Product examples: Concurrent Version System (CVS) Subversion (SVN) Source Safe?
  • 8. Distributed Version Control Repository are placed any where Ideal for individual developer or small project Product examples (most of them are centralized too): GIT Bazaar Mercurical
  • 9. Branching a line of development that exists independently of another line, yet still shares a common history
  • 10. Common Term in SCM Repository --Storage of current and historical code Check-in / Commit -- commit changes, write log Check-out -- getting the source Branch -- making different line of development Conflict, Resolve --changes are made on the same source Baseline, Trunk, Master -- Main line of development Tag -- labeling snapshot of source Log --notes given by developer on changes Head -- the most recent commit Revision, Version --state at point in time Import -- copying local directory tree into repository Export --similar to checkout without metadata ofversion control
  • 11. Daily Use of GIT Initiate repository import project (file(s) or Directory) checkout code - test iteration Commit - writing logs here Tag - labeling Branch Merge Log Diff
  • 12. Starting Using git Install, ONLY available on Linux:( Write your code Initiate Repository Add your code into repo code-compile-test Commit the changes Tag and ... JUST Use it!
  • 13. < 10 minutes git show my hello Project