SlideShare a Scribd company logo
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

More Related Content

What's hot

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
Sanjay Adhikari
 
Nvprof um 1
Nvprof um 1Nvprof um 1
Nvprof um 1
Josh Wyatt
 
Linux fundamental - Chap 08 proc
Linux fundamental - Chap 08 procLinux fundamental - Chap 08 proc
Linux fundamental - Chap 08 proc
Kenny (netman)
 
LSA2 - 02 Control Groups
LSA2 - 02   Control GroupsLSA2 - 02   Control Groups
LSA2 - 02 Control Groups
Marian Marinov
 
Ass OS
Ass OSAss 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
Syed Muhammad Zaidi
 
Lpreservereurobsd2014
Lpreservereurobsd2014Lpreservereurobsd2014
Lpreservereurobsd2014
krispcbsd
 
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
Anne Nicolas
 
Common linuxcommandspocketguide07
Common linuxcommandspocketguide07Common linuxcommandspocketguide07
Common linuxcommandspocketguide07
Teja 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
 
Readme
ReadmeReadme
Readme
makoto0306
 
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
Shawn Wells
 
Unix Ramblings
Unix RamblingsUnix Ramblings
Unix Ramblings
Bill Miller
 
Brown bag sessions git workshop
Brown bag sessions git workshopBrown bag sessions git workshop
Brown bag sessions git workshop
Bishant Shrestha
 
coreboot@Budapest 10.2009 Meetup
coreboot@Budapest 10.2009 Meetupcoreboot@Budapest 10.2009 Meetup
coreboot@Budapest 10.2009 Meetup
Cristian Măgherușan-Stanciu
 
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
Dalton Valadares
 
Testps
TestpsTestps
LSA2 - 01 Virtualization with KVM
LSA2 - 01 Virtualization with KVMLSA2 - 01 Virtualization with KVM
LSA2 - 01 Virtualization with KVM
Marian 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 MMAP
Tetsuyuki Kobayashi
 

What's hot (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
 

Viewers also liked

Git work flow
Git work flowGit work flow
Git work flow
Kevin Chiu
 
Printf
PrintfPrintf
Printf
akitsukada
 
20100717tobesetu
20100717tobesetu20100717tobesetu
20100717tobesetu
akitsukada
 
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 ios
akitsukada
 
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
Gultekin Gurdal
 
20140807 AWS Startup Tech Meetup
20140807 AWS Startup Tech Meetup20140807 AWS Startup Tech Meetup
20140807 AWS Startup Tech Meetup
akitsukada
 
AWS Mobile Maniacs
AWS Mobile ManiacsAWS Mobile Maniacs
AWS Mobile Maniacs
akitsukada
 
データベース・リファクタリング読書会第四回オープニング
データベース・リファクタリング読書会第四回オープニングデータベース・リファクタリング読書会第四回オープニング
データベース・リファクタリング読書会第四回オープニングakitsukada
 
AWS Introduction for Startups
AWS Introduction for StartupsAWS Introduction for Startups
AWS Introduction for Startups
akitsukada
 
My Startup Learnings (短縮版)
My Startup Learnings (短縮版)My Startup Learnings (短縮版)
My Startup Learnings (短縮版)
akitsukada
 
Mobile Hubで変わる、アプリ開発最前線
Mobile Hubで変わる、アプリ開発最前線Mobile Hubで変わる、アプリ開発最前線
Mobile Hubで変わる、アプリ開発最前線
akitsukada
 
Awsjpcasestudies
AwsjpcasestudiesAwsjpcasestudies
Awsjpcasestudies
akitsukada
 
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 20160422
akitsukada
 
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
akitsukada
 
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 Projects
Michael Boelen
 

Viewers also liked (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
 

Similar to With git

Git workflows automat-it
Git workflows automat-itGit workflows automat-it
Git workflows automat-it
Automat-IT
 
M.Mozūras - git
M.Mozūras - gitM.Mozūras - git
M.Mozūras - git
Agile Lietuva
 
Git
GitGit
Git
GitGit
Version Control with Git
Version Control with GitVersion Control with Git
Version Control with Git
Andrej Koelewijn
 
How to use git without rage
How to use git without rageHow to use git without rage
How to use git without rage
Javier Lafora Rey
 
3 Git
3 Git3 Git
Use Git like a pro - condensed
Use Git like a pro - condensedUse Git like a pro - condensed
Use Git like a pro - condensed
Jesús Miguel Benito Calzada
 
Wokshop de Git
Wokshop de Git Wokshop de Git
Wokshop de Git
Alberto Leal
 
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
timyates
 
Git SCM
Git SCMGit SCM
Git workshop
Git workshopGit workshop
Git workshop
Mateusz Galazyn
 
Introduction to Git (Greg Lonnon)
Introduction to Git (Greg Lonnon)Introduction to Git (Greg Lonnon)
Introduction to Git (Greg Lonnon)
Boise Web Technologies Group
 
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
Chen-Han Hsiao
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
Jose Emilio Labra Gayo
 
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
Christoph Matthies
 
git.ppt.pdf
git.ppt.pdfgit.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?
9 series
 
GIT_In_90_Minutes
GIT_In_90_MinutesGIT_In_90_Minutes
GIT_In_90_Minutes
vimukthirandika
 
Git introduction
Git introductionGit introduction
Git introduction
satyendrajaladi
 

Similar to 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
 

More from akitsukada

Solutions Architect, Exciting Career for Engineers
Solutions Architect, Exciting Career for EngineersSolutions Architect, Exciting Career for Engineers
Solutions Architect, Exciting Career for Engineers
akitsukada
 
Morning Session - AWS Serverless Ways
Morning Session - AWS Serverless WaysMorning Session - AWS Serverless Ways
Morning Session - AWS Serverless Ways
akitsukada
 
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
 
Find(1)
Find(1)Find(1)
Find(1)
akitsukada
 
Gorinphp0928
Gorinphp0928Gorinphp0928
Gorinphp0928
akitsukada
 
Glt tobetobe dev_love20101106_noralt
Glt tobetobe dev_love20101106_noraltGlt tobetobe dev_love20101106_noralt
Glt tobetobe dev_love20101106_noralt
akitsukada
 
Glt tobetobe dev_love20101106
Glt tobetobe dev_love20101106Glt tobetobe dev_love20101106
Glt tobetobe dev_love20101106
akitsukada
 
Pragmaticprogrammers-reading 20100428
Pragmaticprogrammers-reading 20100428Pragmaticprogrammers-reading 20100428
Pragmaticprogrammers-reading 20100428akitsukada
 

More from 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
 

Recently uploaded

Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
Hiroshi SHIBATA
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
Tomaz Bratanic
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Alpen-Adria-Universität
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
panagenda
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
Matthew Sinclair
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
DianaGray10
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
Federico Razzoli
 
Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
jpupo2018
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Tosin Akinosho
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
fredae14
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
MichaelKnudsen27
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
Daiki Mogmet Ito
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 

Recently uploaded (20)

Introduction of Cybersecurity with OSS at Code Europe 2024
Introduction of Cybersecurity with OSS  at Code Europe 2024Introduction of Cybersecurity with OSS  at Code Europe 2024
Introduction of Cybersecurity with OSS at Code Europe 2024
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
GraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracyGraphRAG for Life Science to increase LLM accuracy
GraphRAG for Life Science to increase LLM accuracy
 
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing InstancesEnergy Efficient Video Encoding for Cloud and Edge Computing Instances
Energy Efficient Video Encoding for Cloud and Edge Computing Instances
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUHCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
 
20240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 202420240607 QFM018 Elixir Reading List May 2024
20240607 QFM018 Elixir Reading List May 2024
 
UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6UiPath Test Automation using UiPath Test Suite series, part 6
UiPath Test Automation using UiPath Test Suite series, part 6
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Webinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data WarehouseWebinar: Designing a schema for a Data Warehouse
Webinar: Designing a schema for a Data Warehouse
 
Project Management Semester Long Project - Acuity
Project Management Semester Long Project - AcuityProject Management Semester Long Project - Acuity
Project Management Semester Long Project - Acuity
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Monitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdfMonitoring and Managing Anomaly Detection on OpenShift.pdf
Monitoring and Managing Anomaly Detection on OpenShift.pdf
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
 
Nordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptxNordic Marketo Engage User Group_June 13_ 2024.pptx
Nordic Marketo Engage User Group_June 13_ 2024.pptx
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
How to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For FlutterHow to use Firebase Data Connect For Flutter
How to use Firebase Data Connect For Flutter
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 

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