SlideShare une entreprise Scribd logo
1  sur  20
Télécharger pour lire hors ligne
development
 work flow
 with Git
SetucoCMS @akitsukada
case:
Local work
VCS
1 of the three major affairs for
modern software development!

Version Control

Test

Automation
Distributed
Git is different from
centerization VCS, e.g.SVN,CVS.

svn checkout repos
          git clone repos
svn commit
          git commit && git push
svn update
          git pull
Safety for Repos
We have local repositories, so
commit has no effect for others.
 John : svn commit (include BUGS!)
 Mike : svn update (with bugs, no notices)
Git is very affable to chickens :)
John : git commit (include BUGS)
 Mike : git pull (from safe repos)
 John : I fix bugs! :)
 John : git push
Nice small commit
Each change has independent
meaning, should be separated.
John : edit a.txt b.txt c.txt d.txt ...
John : svn commit (all files)
Mike : edit a.txt b.txt c.txt d.txt ...
Mike : git add a.txt
Mike : git commit (only a.txt)
Mike : git add b.txt c.txt ...
Mike : git commit (b.txt, c.txt)
Very small commit
Git can make more smaller commit.
In 1 file’s changes.
Mike : edit a.txt
Mike : git add -p
      ... demo ...

Git has wonderful flexibility for
commits. Besides, we edit past
commits freely too.
Git repos world
Git has 5 areas for tracking.
- local -
 untrack --------------------------------------
 track     --------------------------------------
 modified --------------------------------------
 index    --------------------------------------
- remote -
 remote --------------------------------------
Index is also called “Stage” or “Cache”.
FYI, if SVN...
SVN has no index.
- local -
 untrack --------------------------------------
 track     --------------------------------------
 modified --------------------------------------
- remote -
 remote --------------------------------------
Flexibility by Index
untrack ----------------------------------------

track      ----------------------------------------

modified ----------------------------------------

index      ----------------------------------------

remote     ----------------------------------------
FYI, if SVN.
untrack ----------------------------------------


track      ----------------------------------------


modified ----------------------------------------


remote     ----------------------------------------
Other many utils
private branches, merge,
edit commits(rebase),
revert, log tracking,
blaming, reflog, cherry-pic,
tags, etc...
#SCMBC
  SCM Boot Camp
     in Tokyo
  30.7.2011 @ORACLE
http://kokucheese.com/event/index/14062/
case:
 Group work
(SetucoCMS)
Branches
Git branches are also useful.

Internal structure of git repos
master -----------------------------------
branch1 -----------------------------------
branch2 -----------------------------------
...     -----------------------------------
branches form a commits tree.
SetucoCMS tree
Git repos branches:
master
  - main workspace
    has always newest commit
issXXX
  - topic branch
     for development, bugfix, for master
X.X
   - release branch, has bug fix tags
SetucoCMS tree
Git repos tags:
X.X.X
   - bug fixes or refactorings
     on release branch X.X
Tree example
branches
master -*------*--------*-------        *:commit
               /        /
iss123    *--*          / 
                      / 
1.0                *------ ---- ---
                        1.0.1 1.0.2      :tag
                     /       
iss124        *--*--*          
                                
iss125                            *----
Each branch has own history, and we
can merge them, delete, add, get,
push or pull at any time.
Repeal of stage
I decided to do away with Stage
branch.
Stage branch’s advantages
  - careful confirmation
  - modify safely
Disadvantages
  - long about work
  - possibillity of mistake
  - difficult to leaning git
Setuco without stage
Let’s read wiki...

How to drive our git repos
  http://bit.ly/setuco_drivegit

How to release SetucoCMS
  http://bit.ly/setuco_release

Contenu connexe

Tendances

Qemu x86 BIOS @ https://youtu.be/F71LGSrj9cc
Qemu x86 BIOS @ https://youtu.be/F71LGSrj9ccQemu x86 BIOS @ https://youtu.be/F71LGSrj9cc
Qemu x86 BIOS @ https://youtu.be/F71LGSrj9ccSanjay Adhikari
 
Linux fundamental - Chap 08 proc
Linux fundamental - Chap 08 procLinux fundamental - Chap 08 proc
Linux fundamental - Chap 08 procKenny (netman)
 
LSA2 - 02 Control Groups
LSA2 - 02   Control GroupsLSA2 - 02   Control Groups
LSA2 - 02 Control GroupsMarian Marinov
 
Tems 8 Basic steps for beginners
Tems 8 Basic steps for beginners Tems 8 Basic steps for beginners
Tems 8 Basic steps for beginners Syed Muhammad Zaidi
 
Lpreservereurobsd2014
Lpreservereurobsd2014Lpreservereurobsd2014
Lpreservereurobsd2014krispcbsd
 
Kernel Recipes 2013 - Crosstool-NG, a cross-toolchain generator
Kernel Recipes 2013 - Crosstool-NG, a cross-toolchain generatorKernel Recipes 2013 - Crosstool-NG, a cross-toolchain generator
Kernel Recipes 2013 - Crosstool-NG, a cross-toolchain generatorAnne Nicolas
 
Common linuxcommandspocketguide07
Common linuxcommandspocketguide07Common linuxcommandspocketguide07
Common linuxcommandspocketguide07Teja Bheemanapally
 
How to train your L3DSR with PBR - MEMO -
How to train your L3DSR with PBR - MEMO -How to train your L3DSR with PBR - MEMO -
How to train your L3DSR with PBR - MEMO -Naoto MATSUMOTO
 
2009-06-18 CAVMEN System z Users Group Update
2009-06-18 CAVMEN System z Users Group Update2009-06-18 CAVMEN System z Users Group Update
2009-06-18 CAVMEN System z Users Group UpdateShawn Wells
 
Brown bag sessions git workshop
Brown bag sessions git workshopBrown bag sessions git workshop
Brown bag sessions git workshopBishant Shrestha
 
How to configure an environment to cross-compile applications for beagleboard-xM
How to configure an environment to cross-compile applications for beagleboard-xMHow to configure an environment to cross-compile applications for beagleboard-xM
How to configure an environment to cross-compile applications for beagleboard-xMDalton Valadares
 
LSA2 - 01 Virtualization with KVM
LSA2 - 01 Virtualization with KVMLSA2 - 01 Virtualization with KVM
LSA2 - 01 Virtualization with KVMMarian Marinov
 
Simple and efficient way to get the last log using MMAP
Simple and efficient way to get the last log using MMAPSimple and efficient way to get the last log using MMAP
Simple and efficient way to get the last log using MMAPTetsuyuki Kobayashi
 

Tendances (19)

Qemu x86 BIOS @ https://youtu.be/F71LGSrj9cc
Qemu x86 BIOS @ https://youtu.be/F71LGSrj9ccQemu x86 BIOS @ https://youtu.be/F71LGSrj9cc
Qemu x86 BIOS @ https://youtu.be/F71LGSrj9cc
 
Nvprof um 1
Nvprof um 1Nvprof um 1
Nvprof um 1
 
Linux fundamental - Chap 08 proc
Linux fundamental - Chap 08 procLinux fundamental - Chap 08 proc
Linux fundamental - Chap 08 proc
 
LSA2 - 02 Control Groups
LSA2 - 02   Control GroupsLSA2 - 02   Control Groups
LSA2 - 02 Control Groups
 
Ass OS
Ass OSAss OS
Ass OS
 
Tems 8 Basic steps for beginners
Tems 8 Basic steps for beginners Tems 8 Basic steps for beginners
Tems 8 Basic steps for beginners
 
Lpreservereurobsd2014
Lpreservereurobsd2014Lpreservereurobsd2014
Lpreservereurobsd2014
 
Kernel Recipes 2013 - Crosstool-NG, a cross-toolchain generator
Kernel Recipes 2013 - Crosstool-NG, a cross-toolchain generatorKernel Recipes 2013 - Crosstool-NG, a cross-toolchain generator
Kernel Recipes 2013 - Crosstool-NG, a cross-toolchain generator
 
Common linuxcommandspocketguide07
Common linuxcommandspocketguide07Common linuxcommandspocketguide07
Common linuxcommandspocketguide07
 
How to train your L3DSR with PBR - MEMO -
How to train your L3DSR with PBR - MEMO -How to train your L3DSR with PBR - MEMO -
How to train your L3DSR with PBR - MEMO -
 
Readme
ReadmeReadme
Readme
 
2009-06-18 CAVMEN System z Users Group Update
2009-06-18 CAVMEN System z Users Group Update2009-06-18 CAVMEN System z Users Group Update
2009-06-18 CAVMEN System z Users Group Update
 
Unix Ramblings
Unix RamblingsUnix Ramblings
Unix Ramblings
 
Brown bag sessions git workshop
Brown bag sessions git workshopBrown bag sessions git workshop
Brown bag sessions git workshop
 
coreboot@Budapest 10.2009 Meetup
coreboot@Budapest 10.2009 Meetupcoreboot@Budapest 10.2009 Meetup
coreboot@Budapest 10.2009 Meetup
 
How to configure an environment to cross-compile applications for beagleboard-xM
How to configure an environment to cross-compile applications for beagleboard-xMHow to configure an environment to cross-compile applications for beagleboard-xM
How to configure an environment to cross-compile applications for beagleboard-xM
 
Testps
TestpsTestps
Testps
 
LSA2 - 01 Virtualization with KVM
LSA2 - 01 Virtualization with KVMLSA2 - 01 Virtualization with KVM
LSA2 - 01 Virtualization with KVM
 
Simple and efficient way to get the last log using MMAP
Simple and efficient way to get the last log using MMAPSimple and efficient way to get the last log using MMAP
Simple and efficient way to get the last log using MMAP
 

En vedette

20100717tobesetu
20100717tobesetu20100717tobesetu
20100717tobesetuakitsukada
 
New Horizon for Open Science: OpenAIRE2020 /Acik Bilim icin yeni bir ufuk: Op...
New Horizon for Open Science: OpenAIRE2020 /Acik Bilim icin yeni bir ufuk: Op...New Horizon for Open Science: OpenAIRE2020 /Acik Bilim icin yeni bir ufuk: Op...
New Horizon for Open Science: OpenAIRE2020 /Acik Bilim icin yeni bir ufuk: Op...Gultekin Gurdal
 
Kurumsal arşivlerin kayıt edilmesi ve listeleme
Kurumsal arşivlerin kayıt edilmesi ve listelemeKurumsal arşivlerin kayıt edilmesi ve listeleme
Kurumsal arşivlerin kayıt edilmesi ve listelemeGultekin Gurdal
 
Little tips ios
Little tips iosLittle tips ios
Little tips iosakitsukada
 
Leadership in Open Access Arena in Turkey and Effect of OpenAIRE2020 Project
Leadership in Open Access Arena in Turkey and Effect of OpenAIRE2020 ProjectLeadership in Open Access Arena in Turkey and Effect of OpenAIRE2020 Project
Leadership in Open Access Arena in Turkey and Effect of OpenAIRE2020 ProjectGultekin Gurdal
 
20140807 AWS Startup Tech Meetup
20140807 AWS Startup Tech Meetup20140807 AWS Startup Tech Meetup
20140807 AWS Startup Tech Meetupakitsukada
 
AWS Mobile Maniacs
AWS Mobile ManiacsAWS Mobile Maniacs
AWS Mobile Maniacsakitsukada
 
データベース・リファクタリング読書会第四回オープニング
データベース・リファクタリング読書会第四回オープニングデータベース・リファクタリング読書会第四回オープニング
データベース・リファクタリング読書会第四回オープニングakitsukada
 
AWS Introduction for Startups
AWS Introduction for StartupsAWS Introduction for Startups
AWS Introduction for Startupsakitsukada
 
My Startup Learnings (短縮版)
My Startup Learnings (短縮版)My Startup Learnings (短縮版)
My Startup Learnings (短縮版)akitsukada
 
Mobile Hubで変わる、アプリ開発最前線
Mobile Hubで変わる、アプリ開発最前線Mobile Hubで変わる、アプリ開発最前線
Mobile Hubで変わる、アプリ開発最前線akitsukada
 
Awsjpcasestudies
AwsjpcasestudiesAwsjpcasestudies
Awsjpcasestudiesakitsukada
 
CTO Night & Day Morning Session "スタートアップCTOならおさえておきたいAWS基本構成"
CTO Night & Day Morning Session "スタートアップCTOならおさえておきたいAWS基本構成"CTO Night & Day Morning Session "スタートアップCTOならおさえておきたいAWS基本構成"
CTO Night & Day Morning Session "スタートアップCTOならおさえておきたいAWS基本構成"akitsukada
 
Real-time Chat Backend on AWS IoT 20160422
Real-time Chat Backend on AWS IoT 20160422Real-time Chat Backend on AWS IoT 20160422
Real-time Chat Backend on AWS IoT 20160422akitsukada
 
Amazon Cognito Deep Dive @ JAWS DAYS 2016
Amazon Cognito Deep Dive @ JAWS DAYS 2016Amazon Cognito Deep Dive @ JAWS DAYS 2016
Amazon Cognito Deep Dive @ JAWS DAYS 2016akitsukada
 
CTO Night & Day Morning Session "Auto Scaling & Spot Instances Deep Dive"
CTO Night & Day Morning Session "Auto Scaling & Spot Instances Deep Dive"CTO Night & Day Morning Session "Auto Scaling & Spot Instances Deep Dive"
CTO Night & Day Morning Session "Auto Scaling & Spot Instances Deep Dive"akitsukada
 
Auto Scaling x Spot Instances によるスケーラビリティと コストカット
Auto Scaling x Spot Instances によるスケーラビリティと コストカットAuto Scaling x Spot Instances によるスケーラビリティと コストカット
Auto Scaling x Spot Instances によるスケーラビリティと コストカットakitsukada
 
Getting Traction for (your) Open Source Projects
Getting Traction for (your) Open Source ProjectsGetting Traction for (your) Open Source Projects
Getting Traction for (your) Open Source ProjectsMichael Boelen
 

En vedette (20)

Git work flow
Git work flowGit work flow
Git work flow
 
Printf
PrintfPrintf
Printf
 
20100717tobesetu
20100717tobesetu20100717tobesetu
20100717tobesetu
 
New Horizon for Open Science: OpenAIRE2020 /Acik Bilim icin yeni bir ufuk: Op...
New Horizon for Open Science: OpenAIRE2020 /Acik Bilim icin yeni bir ufuk: Op...New Horizon for Open Science: OpenAIRE2020 /Acik Bilim icin yeni bir ufuk: Op...
New Horizon for Open Science: OpenAIRE2020 /Acik Bilim icin yeni bir ufuk: Op...
 
Kurumsal arşivlerin kayıt edilmesi ve listeleme
Kurumsal arşivlerin kayıt edilmesi ve listelemeKurumsal arşivlerin kayıt edilmesi ve listeleme
Kurumsal arşivlerin kayıt edilmesi ve listeleme
 
Little tips ios
Little tips iosLittle tips ios
Little tips ios
 
Leadership in Open Access Arena in Turkey and Effect of OpenAIRE2020 Project
Leadership in Open Access Arena in Turkey and Effect of OpenAIRE2020 ProjectLeadership in Open Access Arena in Turkey and Effect of OpenAIRE2020 Project
Leadership in Open Access Arena in Turkey and Effect of OpenAIRE2020 Project
 
20140807 AWS Startup Tech Meetup
20140807 AWS Startup Tech Meetup20140807 AWS Startup Tech Meetup
20140807 AWS Startup Tech Meetup
 
AWS Mobile Maniacs
AWS Mobile ManiacsAWS Mobile Maniacs
AWS Mobile Maniacs
 
データベース・リファクタリング読書会第四回オープニング
データベース・リファクタリング読書会第四回オープニングデータベース・リファクタリング読書会第四回オープニング
データベース・リファクタリング読書会第四回オープニング
 
AWS Introduction for Startups
AWS Introduction for StartupsAWS Introduction for Startups
AWS Introduction for Startups
 
My Startup Learnings (短縮版)
My Startup Learnings (短縮版)My Startup Learnings (短縮版)
My Startup Learnings (短縮版)
 
Mobile Hubで変わる、アプリ開発最前線
Mobile Hubで変わる、アプリ開発最前線Mobile Hubで変わる、アプリ開発最前線
Mobile Hubで変わる、アプリ開発最前線
 
Awsjpcasestudies
AwsjpcasestudiesAwsjpcasestudies
Awsjpcasestudies
 
CTO Night & Day Morning Session "スタートアップCTOならおさえておきたいAWS基本構成"
CTO Night & Day Morning Session "スタートアップCTOならおさえておきたいAWS基本構成"CTO Night & Day Morning Session "スタートアップCTOならおさえておきたいAWS基本構成"
CTO Night & Day Morning Session "スタートアップCTOならおさえておきたいAWS基本構成"
 
Real-time Chat Backend on AWS IoT 20160422
Real-time Chat Backend on AWS IoT 20160422Real-time Chat Backend on AWS IoT 20160422
Real-time Chat Backend on AWS IoT 20160422
 
Amazon Cognito Deep Dive @ JAWS DAYS 2016
Amazon Cognito Deep Dive @ JAWS DAYS 2016Amazon Cognito Deep Dive @ JAWS DAYS 2016
Amazon Cognito Deep Dive @ JAWS DAYS 2016
 
CTO Night & Day Morning Session "Auto Scaling & Spot Instances Deep Dive"
CTO Night & Day Morning Session "Auto Scaling & Spot Instances Deep Dive"CTO Night & Day Morning Session "Auto Scaling & Spot Instances Deep Dive"
CTO Night & Day Morning Session "Auto Scaling & Spot Instances Deep Dive"
 
Auto Scaling x Spot Instances によるスケーラビリティと コストカット
Auto Scaling x Spot Instances によるスケーラビリティと コストカットAuto Scaling x Spot Instances によるスケーラビリティと コストカット
Auto Scaling x Spot Instances によるスケーラビリティと コストカット
 
Getting Traction for (your) Open Source Projects
Getting Traction for (your) Open Source ProjectsGetting Traction for (your) Open Source Projects
Getting Traction for (your) Open Source Projects
 

Similaire à With git (20)

Git workflows automat-it
Git workflows automat-itGit workflows automat-it
Git workflows automat-it
 
M.Mozūras - git
M.Mozūras - gitM.Mozūras - git
M.Mozūras - git
 
Git
GitGit
Git
 
Git
GitGit
Git
 
Version Control with Git
Version Control with GitVersion Control with Git
Version Control with Git
 
How to use git without rage
How to use git without rageHow to use git without rage
How to use git without rage
 
3 Git
3 Git3 Git
3 Git
 
Use Git like a pro - condensed
Use Git like a pro - condensedUse Git like a pro - condensed
Use Git like a pro - condensed
 
Wokshop de Git
Wokshop de Git Wokshop de Git
Wokshop de Git
 
Using Git as your VCS with Bioconductor
Using Git as your VCS with BioconductorUsing Git as your VCS with Bioconductor
Using Git as your VCS with Bioconductor
 
Git SCM
Git SCMGit SCM
Git SCM
 
Git workshop
Git workshopGit workshop
Git workshop
 
Introduction to Git (Greg Lonnon)
Introduction to Git (Greg Lonnon)Introduction to Git (Greg Lonnon)
Introduction to Git (Greg Lonnon)
 
Git basic stanley hsiao 2010_12_15
Git basic stanley hsiao 2010_12_15Git basic stanley hsiao 2010_12_15
Git basic stanley hsiao 2010_12_15
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Git Tricks — git utilities that make life git easier
Git Tricks — git utilities that make life git easierGit Tricks — git utilities that make life git easier
Git Tricks — git utilities that make life git easier
 
git.ppt.pdf
git.ppt.pdfgit.ppt.pdf
git.ppt.pdf
 
Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?
 
GIT_In_90_Minutes
GIT_In_90_MinutesGIT_In_90_Minutes
GIT_In_90_Minutes
 
Git introduction
Git introductionGit introduction
Git introduction
 

Plus de akitsukada

Solutions Architect, Exciting Career for Engineers
Solutions Architect, Exciting Career for EngineersSolutions Architect, Exciting Career for Engineers
Solutions Architect, Exciting Career for Engineersakitsukada
 
Morning Session - AWS Serverless Ways
Morning Session - AWS Serverless WaysMorning Session - AWS Serverless Ways
Morning Session - AWS Serverless Waysakitsukada
 
AWS for Startups 2016 (2015/12/02版)
AWS for Startups 2016 (2015/12/02版)AWS for Startups 2016 (2015/12/02版)
AWS for Startups 2016 (2015/12/02版)akitsukada
 
みゆっき☆Think#10 チーム開発〜脱ぼっちマインド〜
みゆっき☆Think#10 チーム開発〜脱ぼっちマインド〜みゆっき☆Think#10 チーム開発〜脱ぼっちマインド〜
みゆっき☆Think#10 チーム開発〜脱ぼっちマインド〜akitsukada
 
Find(ラスト)
Find(ラスト)Find(ラスト)
Find(ラスト)akitsukada
 
Glt tobetobe dev_love20101106_noralt
Glt tobetobe dev_love20101106_noraltGlt tobetobe dev_love20101106_noralt
Glt tobetobe dev_love20101106_noraltakitsukada
 
Glt tobetobe dev_love20101106
Glt tobetobe dev_love20101106Glt tobetobe dev_love20101106
Glt tobetobe dev_love20101106akitsukada
 
Pragmaticprogrammers-reading 20100428
Pragmaticprogrammers-reading 20100428Pragmaticprogrammers-reading 20100428
Pragmaticprogrammers-reading 20100428akitsukada
 

Plus de akitsukada (12)

Solutions Architect, Exciting Career for Engineers
Solutions Architect, Exciting Career for EngineersSolutions Architect, Exciting Career for Engineers
Solutions Architect, Exciting Career for Engineers
 
Morning Session - AWS Serverless Ways
Morning Session - AWS Serverless WaysMorning Session - AWS Serverless Ways
Morning Session - AWS Serverless Ways
 
AWS for Startups 2016 (2015/12/02版)
AWS for Startups 2016 (2015/12/02版)AWS for Startups 2016 (2015/12/02版)
AWS for Startups 2016 (2015/12/02版)
 
みゆっき☆Think#10 チーム開発〜脱ぼっちマインド〜
みゆっき☆Think#10 チーム開発〜脱ぼっちマインド〜みゆっき☆Think#10 チーム開発〜脱ぼっちマインド〜
みゆっき☆Think#10 チーム開発〜脱ぼっちマインド〜
 
Find(ラスト)
Find(ラスト)Find(ラスト)
Find(ラスト)
 
Find(1)
Find(1)Find(1)
Find(1)
 
Gorinphp0928
Gorinphp0928Gorinphp0928
Gorinphp0928
 
Gorinphp0729
Gorinphp0729Gorinphp0729
Gorinphp0729
 
Glt tobetobe dev_love20101106_noralt
Glt tobetobe dev_love20101106_noraltGlt tobetobe dev_love20101106_noralt
Glt tobetobe dev_love20101106_noralt
 
Glt tobetobe dev_love20101106
Glt tobetobe dev_love20101106Glt tobetobe dev_love20101106
Glt tobetobe dev_love20101106
 
Glt100527
Glt100527Glt100527
Glt100527
 
Pragmaticprogrammers-reading 20100428
Pragmaticprogrammers-reading 20100428Pragmaticprogrammers-reading 20100428
Pragmaticprogrammers-reading 20100428
 

Dernier

How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...itnewsafrica
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Jeffrey Haguewood
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructureitnewsafrica
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfIngrid Airi González
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integrationmarketing932765
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI AgeCprime
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesBernd Ruecker
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...itnewsafrica
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...BookNet Canada
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 

Dernier (20)

How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...Abdul Kader Baba- Managing Cybersecurity Risks  and Compliance Requirements i...
Abdul Kader Baba- Managing Cybersecurity Risks and Compliance Requirements i...
 
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
Email Marketing Automation for Bonterra Impact Management (fka Social Solutio...
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical InfrastructureVarsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
Varsha Sewlal- Cyber Attacks on Critical Critical Infrastructure
 
Generative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdfGenerative Artificial Intelligence: How generative AI works.pdf
Generative Artificial Intelligence: How generative AI works.pdf
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS:  6 Ways to Automate Your Data IntegrationBridging Between CAD & GIS:  6 Ways to Automate Your Data Integration
Bridging Between CAD & GIS: 6 Ways to Automate Your Data Integration
 
A Framework for Development in the AI Age
A Framework for Development in the AI AgeA Framework for Development in the AI Age
A Framework for Development in the AI Age
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
QCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architecturesQCon London: Mastering long-running processes in modern architectures
QCon London: Mastering long-running processes in modern architectures
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
Irene Moetsana-Moeng: Stakeholders in Cybersecurity: Collaborative Defence fo...
 
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
Transcript: New from BookNet Canada for 2024: BNC SalesData and LibraryData -...
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 

With git

  • 1. development work flow with Git SetucoCMS @akitsukada
  • 3. VCS 1 of the three major affairs for modern software development! Version Control Test Automation
  • 4. Distributed Git is different from centerization VCS, e.g.SVN,CVS. svn checkout repos git clone repos svn commit git commit && git push svn update git pull
  • 5. Safety for Repos We have local repositories, so commit has no effect for others. John : svn commit (include BUGS!) Mike : svn update (with bugs, no notices) Git is very affable to chickens :) John : git commit (include BUGS) Mike : git pull (from safe repos) John : I fix bugs! :) John : git push
  • 6. Nice small commit Each change has independent meaning, should be separated. John : edit a.txt b.txt c.txt d.txt ... John : svn commit (all files) Mike : edit a.txt b.txt c.txt d.txt ... Mike : git add a.txt Mike : git commit (only a.txt) Mike : git add b.txt c.txt ... Mike : git commit (b.txt, c.txt)
  • 7. Very small commit Git can make more smaller commit. In 1 file’s changes. Mike : edit a.txt Mike : git add -p ... demo ... Git has wonderful flexibility for commits. Besides, we edit past commits freely too.
  • 8. Git repos world Git has 5 areas for tracking. - local - untrack -------------------------------------- track -------------------------------------- modified -------------------------------------- index -------------------------------------- - remote - remote -------------------------------------- Index is also called “Stage” or “Cache”.
  • 9. FYI, if SVN... SVN has no index. - local - untrack -------------------------------------- track -------------------------------------- modified -------------------------------------- - remote - remote --------------------------------------
  • 10. Flexibility by Index untrack ---------------------------------------- track ---------------------------------------- modified ---------------------------------------- index ---------------------------------------- remote ----------------------------------------
  • 11. FYI, if SVN. untrack ---------------------------------------- track ---------------------------------------- modified ---------------------------------------- remote ----------------------------------------
  • 12. Other many utils private branches, merge, edit commits(rebase), revert, log tracking, blaming, reflog, cherry-pic, tags, etc...
  • 13. #SCMBC SCM Boot Camp in Tokyo 30.7.2011 @ORACLE http://kokucheese.com/event/index/14062/
  • 15. Branches Git branches are also useful. Internal structure of git repos master ----------------------------------- branch1 ----------------------------------- branch2 ----------------------------------- ... ----------------------------------- branches form a commits tree.
  • 16. SetucoCMS tree Git repos branches: master - main workspace has always newest commit issXXX - topic branch for development, bugfix, for master X.X - release branch, has bug fix tags
  • 17. SetucoCMS tree Git repos tags: X.X.X - bug fixes or refactorings on release branch X.X
  • 18. Tree example branches master -*------*--------*------- *:commit / / iss123 *--* / / 1.0 *------ ---- --- 1.0.1 1.0.2 :tag / iss124 *--*--* iss125 *---- Each branch has own history, and we can merge them, delete, add, get, push or pull at any time.
  • 19. Repeal of stage I decided to do away with Stage branch. Stage branch’s advantages - careful confirmation - modify safely Disadvantages - long about work - possibillity of mistake - difficult to leaning git
  • 20. Setuco without stage Let’s read wiki... How to drive our git repos http://bit.ly/setuco_drivegit How to release SetucoCMS http://bit.ly/setuco_release