SlideShare uma empresa Scribd logo
1 de 43
Open Innovation Lab (OIL)
GIT Intro Workshop
PantaRei Design Limited
Wong Hoi Sing, Edison
2015 Feb 27th
Wong Hoi Sing, Edison
● CEO, Founder, PantaRei Design
– 2009, PantaRei Design founded
– 2010, HKFYG YBHK applicant
– 2011, ITF SERAP applicant
– 2011, HKSTP Incu-Tech applicant
● FOSS and Drupal Developer, Contributor and HKDUG Co-founder
– 2000, Debian GNU/Linux 2.2 ('potato')
– 2005, Drupal Developer
– 2008, BarCamp HK Speaker
– 2008, HKDUG Co-founder
– 2011, Drupal 7.x Core Contributor
● hswong3i@pantarei-design.com
● https://www.drupal.org/u/hswong3i
PantaRei Design
● Hong Kong based FOSS service provider
– Content Management System (CMS) with Drupal
– Cloud Hosting Solution with Amazon Web Services
(AWS)
● Business Partner with industry leaders
– 2012, AWS Consulting Partner
– 2013, Acquia Partner
– 2013, Atlassian Experts
– 2014, Rackspace Hosting Partner
Outline
● What is GIT?
● Why GIT?
● 15mins Tutorial
● Advanced Topic(s)
What is GIT?
● Distributed revision control and source code
management (SCM) system
● Designed to handle everything from small to
very large projects
● Designed and developed by Linus Torvalds for
Linux kernel development in 2005
Why GIT?
● Manage code changes by rename file will soon
reach its limitation, e.g.
– mycode-20140308.php
– mycode-201403080930.php
● Archive entire folder will make case even worse
– Need to extract before compare the changes
● Share progress with co-workers become
nightmare
Why GIT? (cont.)
● CVS
– Manage revision per file (rename not support)
– Remote repository server required (no local folder
offline management)
– Single commit management (other else contribute
by submit patches)
– TOOOOO OLD (well...)
● Used by Drupal during 7.x development cycle
● After Drupal 7 released, soon migrated to GIT
Why GIT? (cont.)
● SVN
– Manage revision per folder
– Remote repository server required
– Single commit management
– A bit better than CVS, but branching model still
looks crazy
● At least, we now have GIT, why still using SVN?
Why GIT? (cont.)
● GIT
– Manage revision per entire project
– Remote/local repository supported
● git init
● git add --all .
● git commit -am 'Initial commit'
● git log
● git status
– Distributed workflows
– Used by https://drupal.org/ since Drupal 7
– You also know https://github.com/, isn't it?
15mins Tutorial
● Installation
– Debian/Ubuntu
● apt-get install git git-flow
– Mac
● brew install git git-flow
– Windows
● https://msysgit.github.io/
15mins Tutorial (cont.)
● Basic commands
– git init
– git status
– git add
– git rm
– git commit
– git log
15mins Tutorial (cont.)
● Remote commands
– git remote
– git push
– git pull
15mins Tutorial (cont.)
● Advanced commands
– git diff
– git reset
– git checkout
– git branch
– git merge
Advanced Topic(s)
● Gitflow Workflow
● Continuous Integration (CI)
● Migrate to GIT from SVN
● Dropbox-like File Sharing
Gitflow Workflow
● The Gitflow Workflow defines a strict branching
model designed around the project release
● Developers work locally and push branches to
the central repo
● The only difference is the branch structure of
the project
Continuous Integration (CI)
● Test-Driven Development (TDD) or Behavior-
Driven Development (BDD)
● Combination with automated unit tests, e.g.
running phpunit per each GIT commit
– GitHub → Travis CI
– Stash → Bamboo
Migrate to GIT from SVN
● Prepare your environment for the migration.
● Convert the SVN repository to a local GIT repository.
● Synchronize the local GIT repository when the SVN
repository changes.
● Share the GIT repository with your developers via
Bitbucket.
● Migrate your development efforts from SVN to GIT.
Dropbox-like File Sharing
●
Dropbox
– Public cloud-based file hosting service
●
GIT
– Repository management with history
● SparkleShare
– GIT-based file hosting solution with history
– Just manage share and permission as normal GIT repository
– Support public (e.g. GitHub, BitBucket) or private (e.g. Stash, GitLab) GIT
repository
– Suitable for small size file sharing
– Dropbox-like operation, NO GIT command is required!!
Dropbox-like File Sharing (cont.)
● BitTorrent Sync
– Peer-to-peer file synchronization
– Over the Internet via secure, distributed P2P technology
● Unlike GIT-based solution:
– Suitable for large-size binary file hosting
– No complete history support
● How we use SparkleShare and BitTorrent Sync?
– BitTorrent Sync: Short-term working copy sharing
– SparkleShare: Long-lasting archive with history
Q&A
References
● http://git-scm.com/
● https://try.github.io/levels/1/challenges/1
● http://www.slideshare.net/svenpeters/getting-git-right
● https://www.atlassian.com/git/tutorials
● http://nvie.com/posts/a-successful-git-branching-model/
● https://github.com/nvie/gitflow
● https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow
● http://danielkummer.github.io/git-flow-cheatsheet/
● http://www.webupd8.org/2011/03/set-up-sparkleshare-with-your-own.html
● http://www.webupd8.org/2014/03/install-bittorrent-sync-gui-in-ubuntu.html
Thank You
● Please feel free to contact us:
– PantaRei Design Limited
– Unit 326, 3/F, Building 16W
No.16 Science Park West Avenue
Hong Kong Science Park, Shatin, N.T.
– Phone: +852 2576 3812
– Fax: +852 3753 3663
– Email: sales@pantarei-design.com
– Web: http://pantarei-design.com

Mais conteúdo relacionado

Mais procurados

Introduction to Git, DrupalCamp LA 2015
Introduction to Git, DrupalCamp LA 2015Introduction to Git, DrupalCamp LA 2015
Introduction to Git, DrupalCamp LA 2015mwrather
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHubRick Umali
 
Brief tutorial on Git
Brief tutorial on GitBrief tutorial on Git
Brief tutorial on Git聖文 鄭
 
Git: A Getting Started Presentation
Git: A Getting Started PresentationGit: A Getting Started Presentation
Git: A Getting Started PresentationNap Ramirez
 
Git for Beginners
Git for BeginnersGit for Beginners
Git for BeginnersRick Umali
 
Git Lab Introduction
Git Lab IntroductionGit Lab Introduction
Git Lab IntroductionKrunal Doshi
 
Why we ditched TFS and embraced Git, Github, TeamCity and Myget
Why we ditched TFS and embraced Git, Github, TeamCity and MygetWhy we ditched TFS and embraced Git, Github, TeamCity and Myget
Why we ditched TFS and embraced Git, Github, TeamCity and MygetDennis Doomen
 
Git and github fundamentals
Git and github fundamentalsGit and github fundamentals
Git and github fundamentalsRajKharvar
 
Know the Science behind WorkFlows using Git & GitHhub
Know the Science behind WorkFlows using Git & GitHhubKnow the Science behind WorkFlows using Git & GitHhub
Know the Science behind WorkFlows using Git & GitHhubEdureka!
 
Why Aren't You Using Git Flow?
Why Aren't You Using Git Flow?Why Aren't You Using Git Flow?
Why Aren't You Using Git Flow?John Congdon
 
Starting with Git & GitHub
Starting with Git & GitHubStarting with Git & GitHub
Starting with Git & GitHubNicolás Tourné
 
Git Introduction
Git IntroductionGit Introduction
Git IntroductionGareth Hall
 

Mais procurados (20)

Introduction to Git, DrupalCamp LA 2015
Introduction to Git, DrupalCamp LA 2015Introduction to Git, DrupalCamp LA 2015
Introduction to Git, DrupalCamp LA 2015
 
Open source
Open sourceOpen source
Open source
 
Git & Github
Git & GithubGit & Github
Git & Github
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
 
Brief tutorial on Git
Brief tutorial on GitBrief tutorial on Git
Brief tutorial on Git
 
Intro to Git & GitHub
Intro to Git & GitHubIntro to Git & GitHub
Intro to Git & GitHub
 
Git: A Getting Started Presentation
Git: A Getting Started PresentationGit: A Getting Started Presentation
Git: A Getting Started Presentation
 
Up GitLab Presentation 2015
Up GitLab Presentation 2015Up GitLab Presentation 2015
Up GitLab Presentation 2015
 
Mini git tutorial
Mini git tutorialMini git tutorial
Mini git tutorial
 
Git for Beginners
Git for BeginnersGit for Beginners
Git for Beginners
 
Git Lab Introduction
Git Lab IntroductionGit Lab Introduction
Git Lab Introduction
 
Git advanced
Git advancedGit advanced
Git advanced
 
Why we ditched TFS and embraced Git, Github, TeamCity and Myget
Why we ditched TFS and embraced Git, Github, TeamCity and MygetWhy we ditched TFS and embraced Git, Github, TeamCity and Myget
Why we ditched TFS and embraced Git, Github, TeamCity and Myget
 
Git and github fundamentals
Git and github fundamentalsGit and github fundamentals
Git and github fundamentals
 
GitHub
GitHubGitHub
GitHub
 
Know the Science behind WorkFlows using Git & GitHhub
Know the Science behind WorkFlows using Git & GitHhubKnow the Science behind WorkFlows using Git & GitHhub
Know the Science behind WorkFlows using Git & GitHhub
 
Why Aren't You Using Git Flow?
Why Aren't You Using Git Flow?Why Aren't You Using Git Flow?
Why Aren't You Using Git Flow?
 
Git basics
Git basicsGit basics
Git basics
 
Starting with Git & GitHub
Starting with Git & GitHubStarting with Git & GitHub
Starting with Git & GitHub
 
Git Introduction
Git IntroductionGit Introduction
Git Introduction
 

Destaque

Innovative Pedagogical Design Lab
Innovative Pedagogical Design LabInnovative Pedagogical Design Lab
Innovative Pedagogical Design LabWhitney Kilgore
 
Open Business Model
Open Business ModelOpen Business Model
Open Business ModelWesley Shu
 
RHINO-RHINO GOLD-TSPLINE-VRAY eLEARNING
RHINO-RHINO GOLD-TSPLINE-VRAY eLEARNINGRHINO-RHINO GOLD-TSPLINE-VRAY eLEARNING
RHINO-RHINO GOLD-TSPLINE-VRAY eLEARNINGGeorge Exarchopoulos
 
DRIVE | design lab - gispen & tno, use it wisely
DRIVE |  design lab  -  gispen & tno,  use it wiselyDRIVE |  design lab  -  gispen & tno,  use it wisely
DRIVE | design lab - gispen & tno, use it wiselyCLICKNL
 
Design driven innovation and design thinking
Design driven innovation and design thinkingDesign driven innovation and design thinking
Design driven innovation and design thinkingdesignprovidence
 
Google's ROD Storyboard: How Google Translated its Leap of Faith into a Multi...
Google's ROD Storyboard: How Google Translated its Leap of Faith into a Multi...Google's ROD Storyboard: How Google Translated its Leap of Faith into a Multi...
Google's ROD Storyboard: How Google Translated its Leap of Faith into a Multi...Rod King, Ph.D.
 
Sap transaction-codes-list
Sap transaction-codes-listSap transaction-codes-list
Sap transaction-codes-listRaj p
 
Fjord Trends 2017 - Highlights
Fjord Trends 2017 - HighlightsFjord Trends 2017 - Highlights
Fjord Trends 2017 - HighlightsKiran Kumar
 
Design Lab: Reinventing the Nonprofit Work Ethnic
Design Lab:  Reinventing the Nonprofit Work EthnicDesign Lab:  Reinventing the Nonprofit Work Ethnic
Design Lab: Reinventing the Nonprofit Work EthnicBeth Kanter
 
Training Academy Schedule - August 2016 -July 2017
Training Academy Schedule - August 2016 -July 2017Training Academy Schedule - August 2016 -July 2017
Training Academy Schedule - August 2016 -July 2017Fraser Hickman
 
Design Thinking for Project Management at BRAC Social Innovation Lab
Design Thinking for Project Management at BRAC Social Innovation LabDesign Thinking for Project Management at BRAC Social Innovation Lab
Design Thinking for Project Management at BRAC Social Innovation LabKazi Monirul Kabir
 
Does your business need an Innovation Lab?
Does your business need an Innovation Lab?Does your business need an Innovation Lab?
Does your business need an Innovation Lab?Paul Taylor
 
Design Thinking & Project Management
Design Thinking & Project ManagementDesign Thinking & Project Management
Design Thinking & Project ManagementBruce Gay, PMP
 
The Innovator´s Dilemma of Innovation Labs and Corporate Accelerators
The Innovator´s Dilemma of Innovation Labs and Corporate AcceleratorsThe Innovator´s Dilemma of Innovation Labs and Corporate Accelerators
The Innovator´s Dilemma of Innovation Labs and Corporate AcceleratorsManuel Funk
 
How To Build An Innovation Lab
How To Build An Innovation LabHow To Build An Innovation Lab
How To Build An Innovation LabPaul Taylor
 
SAP MM Configuration Step by Step guide by Tata Mcgraw hill
SAP MM Configuration Step by Step guide by Tata Mcgraw hillSAP MM Configuration Step by Step guide by Tata Mcgraw hill
SAP MM Configuration Step by Step guide by Tata Mcgraw hillVenet Dheer
 
Can Innovation Labs Save The World?
Can Innovation Labs Save The World?Can Innovation Labs Save The World?
Can Innovation Labs Save The World?Paul Taylor
 

Destaque (20)

Innovative Pedagogical Design Lab
Innovative Pedagogical Design LabInnovative Pedagogical Design Lab
Innovative Pedagogical Design Lab
 
Open Business Model
Open Business ModelOpen Business Model
Open Business Model
 
RHINO-RHINO GOLD-TSPLINE-VRAY eLEARNING
RHINO-RHINO GOLD-TSPLINE-VRAY eLEARNINGRHINO-RHINO GOLD-TSPLINE-VRAY eLEARNING
RHINO-RHINO GOLD-TSPLINE-VRAY eLEARNING
 
DRIVE | design lab - gispen & tno, use it wisely
DRIVE |  design lab  -  gispen & tno,  use it wiselyDRIVE |  design lab  -  gispen & tno,  use it wisely
DRIVE | design lab - gispen & tno, use it wisely
 
Design driven innovation and design thinking
Design driven innovation and design thinkingDesign driven innovation and design thinking
Design driven innovation and design thinking
 
Google's ROD Storyboard: How Google Translated its Leap of Faith into a Multi...
Google's ROD Storyboard: How Google Translated its Leap of Faith into a Multi...Google's ROD Storyboard: How Google Translated its Leap of Faith into a Multi...
Google's ROD Storyboard: How Google Translated its Leap of Faith into a Multi...
 
Sap transaction-codes-list
Sap transaction-codes-listSap transaction-codes-list
Sap transaction-codes-list
 
Fjord Trends 2017 - Highlights
Fjord Trends 2017 - HighlightsFjord Trends 2017 - Highlights
Fjord Trends 2017 - Highlights
 
Design Lab: Reinventing the Nonprofit Work Ethnic
Design Lab:  Reinventing the Nonprofit Work EthnicDesign Lab:  Reinventing the Nonprofit Work Ethnic
Design Lab: Reinventing the Nonprofit Work Ethnic
 
Training Academy Schedule - August 2016 -July 2017
Training Academy Schedule - August 2016 -July 2017Training Academy Schedule - August 2016 -July 2017
Training Academy Schedule - August 2016 -July 2017
 
Design Thinking for Project Management at BRAC Social Innovation Lab
Design Thinking for Project Management at BRAC Social Innovation LabDesign Thinking for Project Management at BRAC Social Innovation Lab
Design Thinking for Project Management at BRAC Social Innovation Lab
 
Does your business need an Innovation Lab?
Does your business need an Innovation Lab?Does your business need an Innovation Lab?
Does your business need an Innovation Lab?
 
Innovation labs
Innovation labsInnovation labs
Innovation labs
 
Design Thinking & Project Management
Design Thinking & Project ManagementDesign Thinking & Project Management
Design Thinking & Project Management
 
The Innovator´s Dilemma of Innovation Labs and Corporate Accelerators
The Innovator´s Dilemma of Innovation Labs and Corporate AcceleratorsThe Innovator´s Dilemma of Innovation Labs and Corporate Accelerators
The Innovator´s Dilemma of Innovation Labs and Corporate Accelerators
 
How To Build An Innovation Lab
How To Build An Innovation LabHow To Build An Innovation Lab
How To Build An Innovation Lab
 
SAP MM Configuration Step by Step guide by Tata Mcgraw hill
SAP MM Configuration Step by Step guide by Tata Mcgraw hillSAP MM Configuration Step by Step guide by Tata Mcgraw hill
SAP MM Configuration Step by Step guide by Tata Mcgraw hill
 
Sap mm full
Sap mm fullSap mm full
Sap mm full
 
SAP FI - GL
SAP FI - GLSAP FI - GL
SAP FI - GL
 
Can Innovation Labs Save The World?
Can Innovation Labs Save The World?Can Innovation Labs Save The World?
Can Innovation Labs Save The World?
 

Semelhante a Open Innovation Lab (OIL) - 20150227 - GIT Intro Workshop

Barcamp Macau 2014 - Introduction to GIT
Barcamp Macau 2014 - Introduction to GITBarcamp Macau 2014 - Introduction to GIT
Barcamp Macau 2014 - Introduction to GITWong Hoi Sing Edison
 
Barcamp Hong Kong 2014 - Introduction to GIT
Barcamp Hong Kong 2014 - Introduction to GITBarcamp Hong Kong 2014 - Introduction to GIT
Barcamp Hong Kong 2014 - Introduction to GITWong Hoi Sing Edison
 
Hong Kong Drupal User Group - 2014 March 8th
Hong Kong Drupal User Group - 2014 March 8thHong Kong Drupal User Group - 2014 March 8th
Hong Kong Drupal User Group - 2014 March 8thWong Hoi Sing Edison
 
Introduction to git & WordPress
Introduction to git & WordPressIntroduction to git & WordPress
Introduction to git & WordPressJosh Lee
 
Drupal Architecture and functionality
Drupal Architecture and functionality Drupal Architecture and functionality
Drupal Architecture and functionality Ann Lam
 
[HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution]
[HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution][HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution]
[HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution]Wong Hoi Sing Edison
 
GitBucket: Open source self-hosting Git server built by Scala
GitBucket: Open source self-hosting Git server built by ScalaGitBucket: Open source self-hosting Git server built by Scala
GitBucket: Open source self-hosting Git server built by Scalatakezoe
 
August OpenNTF Webinar - Git and GitHub Explained
August OpenNTF Webinar - Git and GitHub ExplainedAugust OpenNTF Webinar - Git and GitHub Explained
August OpenNTF Webinar - Git and GitHub ExplainedHoward Greenberg
 
Introduction to git
Introduction to gitIntroduction to git
Introduction to gitRam0603
 
Plone Intranet under the hood
Plone Intranet under the hoodPlone Intranet under the hood
Plone Intranet under the hoodGuido Stevens
 
Delivering a bleeding edge community-led openstack distribution: RDO
Delivering a bleeding edge community-led openstack distribution: RDO Delivering a bleeding edge community-led openstack distribution: RDO
Delivering a bleeding edge community-led openstack distribution: RDO Chandan Kumar
 
Introduction to github using Egit
Introduction to github using EgitIntroduction to github using Egit
Introduction to github using Egitmatz_twt
 
La importancia de versionar el código: GitHub, portafolio y recursos para est...
La importancia de versionar el código: GitHub, portafolio y recursos para est...La importancia de versionar el código: GitHub, portafolio y recursos para est...
La importancia de versionar el código: GitHub, portafolio y recursos para est...CloudNativeElSalvado
 

Semelhante a Open Innovation Lab (OIL) - 20150227 - GIT Intro Workshop (20)

Barcamp Macau 2014 - Introduction to GIT
Barcamp Macau 2014 - Introduction to GITBarcamp Macau 2014 - Introduction to GIT
Barcamp Macau 2014 - Introduction to GIT
 
Barcamp Hong Kong 2014 - Introduction to GIT
Barcamp Hong Kong 2014 - Introduction to GITBarcamp Hong Kong 2014 - Introduction to GIT
Barcamp Hong Kong 2014 - Introduction to GIT
 
Hong Kong Drupal User Group - 2014 March 8th
Hong Kong Drupal User Group - 2014 March 8thHong Kong Drupal User Group - 2014 March 8th
Hong Kong Drupal User Group - 2014 March 8th
 
Introduction to git & WordPress
Introduction to git & WordPressIntroduction to git & WordPress
Introduction to git & WordPress
 
Drupal Architecture and functionality
Drupal Architecture and functionality Drupal Architecture and functionality
Drupal Architecture and functionality
 
Git In One Evening
Git In One EveningGit In One Evening
Git In One Evening
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
[HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution]
[HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution][HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution]
[HKOSCON][20220611][AlviStack: Hong Kong Based Kubernetes Distribution]
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 
Lets git to it
Lets git to itLets git to it
Lets git to it
 
GitBucket: Open source self-hosting Git server built by Scala
GitBucket: Open source self-hosting Git server built by ScalaGitBucket: Open source self-hosting Git server built by Scala
GitBucket: Open source self-hosting Git server built by Scala
 
Git boot camp-ygn
Git boot camp-ygnGit boot camp-ygn
Git boot camp-ygn
 
August OpenNTF Webinar - Git and GitHub Explained
August OpenNTF Webinar - Git and GitHub ExplainedAugust OpenNTF Webinar - Git and GitHub Explained
August OpenNTF Webinar - Git and GitHub Explained
 
Git: be social
Git: be socialGit: be social
Git: be social
 
Introduction to git
Introduction to gitIntroduction to git
Introduction to git
 
Plone Intranet under the hood
Plone Intranet under the hoodPlone Intranet under the hood
Plone Intranet under the hood
 
Delivering a bleeding edge community-led openstack distribution: RDO
Delivering a bleeding edge community-led openstack distribution: RDO Delivering a bleeding edge community-led openstack distribution: RDO
Delivering a bleeding edge community-led openstack distribution: RDO
 
Introduction to github using Egit
Introduction to github using EgitIntroduction to github using Egit
Introduction to github using Egit
 
La importancia de versionar el código: GitHub, portafolio y recursos para est...
La importancia de versionar el código: GitHub, portafolio y recursos para est...La importancia de versionar el código: GitHub, portafolio y recursos para est...
La importancia de versionar el código: GitHub, portafolio y recursos para est...
 
Git Presentation
Git PresentationGit Presentation
Git Presentation
 

Mais de Wong Hoi Sing Edison

[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes][HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]Wong Hoi Sing Edison
 
[HKOSCON][20200613][ Ansible: From VM to Kubernetes]
[HKOSCON][20200613][ Ansible: From VM to Kubernetes][HKOSCON][20200613][ Ansible: From VM to Kubernetes]
[HKOSCON][20200613][ Ansible: From VM to Kubernetes]Wong Hoi Sing Edison
 
[HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes]
[HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes][HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes]
[HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes]Wong Hoi Sing Edison
 
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes]
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes][BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes]
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes]Wong Hoi Sing Edison
 
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...Wong Hoi Sing Edison
 
[HKDUG] #20180512 - Fix Hacked Drupal with GIT
[HKDUG] #20180512 - Fix Hacked Drupal with GIT[HKDUG] #20180512 - Fix Hacked Drupal with GIT
[HKDUG] #20180512 - Fix Hacked Drupal with GITWong Hoi Sing Edison
 
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?Wong Hoi Sing Edison
 
[20160314][CUHK][CSCI4140]Life of an Agile Team]
[20160314][CUHK][CSCI4140]Life of an Agile Team][20160314][CUHK][CSCI4140]Life of an Agile Team]
[20160314][CUHK][CSCI4140]Life of an Agile Team]Wong Hoi Sing Edison
 
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management System
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management SystemBarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management System
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management SystemWong Hoi Sing Edison
 
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?Wong Hoi Sing Edison
 
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8Wong Hoi Sing Edison
 
DruStack- a mobile-friendly web content management system (cms
DruStack- a mobile-friendly web content management system (cmsDruStack- a mobile-friendly web content management system (cms
DruStack- a mobile-friendly web content management system (cmsWong Hoi Sing Edison
 
drustack a mobile-friendly web content management system (cms)
drustack   a mobile-friendly web content management system (cms)drustack   a mobile-friendly web content management system (cms)
drustack a mobile-friendly web content management system (cms)Wong Hoi Sing Edison
 
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile Development
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile DevelopmentCUHK CSCI 4140 2015 Spring Guest Lecture - Agile Development
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile DevelopmentWong Hoi Sing Edison
 
IT Entrepreneurship Talk - City University of Hong Kong
IT Entrepreneurship Talk - City University of Hong KongIT Entrepreneurship Talk - City University of Hong Kong
IT Entrepreneurship Talk - City University of Hong KongWong Hoi Sing Edison
 
OSS Community Meeting - OSS Community Management for Dummy
OSS Community Meeting - OSS Community Management for DummyOSS Community Meeting - OSS Community Management for Dummy
OSS Community Meeting - OSS Community Management for DummyWong Hoi Sing Edison
 
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management SystemBarcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management SystemWong Hoi Sing Edison
 
Hong Kong Drupal User Group - Nov 8th
Hong Kong Drupal User Group - Nov 8thHong Kong Drupal User Group - Nov 8th
Hong Kong Drupal User Group - Nov 8thWong Hoi Sing Edison
 
Open Source.HK Workshop - 2014 Oct 11th
Open Source.HK Workshop - 2014 Oct 11thOpen Source.HK Workshop - 2014 Oct 11th
Open Source.HK Workshop - 2014 Oct 11thWong Hoi Sing Edison
 

Mais de Wong Hoi Sing Edison (20)

[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes][HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
[HKOSCon x COSCUP 2020][20200801][Ansible: From VM to Kubernetes]
 
[HKOSCON][20200613][ Ansible: From VM to Kubernetes]
[HKOSCON][20200613][ Ansible: From VM to Kubernetes][HKOSCON][20200613][ Ansible: From VM to Kubernetes]
[HKOSCON][20200613][ Ansible: From VM to Kubernetes]
 
[HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes]
[HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes][HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes]
[HKOSCON][20190615][DevOps with Ansible, From Native to Kubernetes]
 
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes]
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes][BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes]
[BarCamp2018][20180915][Tips for Virtual Hosting on Kubernetes]
 
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
[HKOSCON][20180616][Containerized High Availability Virtual Hosting Deploymen...
 
[HKDUG] #20180512 - Fix Hacked Drupal with GIT
[HKDUG] #20180512 - Fix Hacked Drupal with GIT[HKDUG] #20180512 - Fix Hacked Drupal with GIT
[HKDUG] #20180512 - Fix Hacked Drupal with GIT
 
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
[HKDUG] #20161210 - BarCamp Hong Kong 2016 - What's News in PHP?
 
[20160314][CUHK][CSCI4140]Life of an Agile Team]
[20160314][CUHK][CSCI4140]Life of an Agile Team][20160314][CUHK][CSCI4140]Life of an Agile Team]
[20160314][CUHK][CSCI4140]Life of an Agile Team]
 
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management System
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management SystemBarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management System
BarCamp Hong Kong 2015 - AuthBucket - Open Source Identity Management System
 
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
[HKDUG] #20151017 - BarCamp 2015 - Drupal 8 is Coming! Are You Ready?
 
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8
[HKDUG] #20160626 - HKOSCon 2015 - Website DIY with Drupal 8
 
DruStack- a mobile-friendly web content management system (cms
DruStack- a mobile-friendly web content management system (cmsDruStack- a mobile-friendly web content management system (cms
DruStack- a mobile-friendly web content management system (cms
 
drustack a mobile-friendly web content management system (cms)
drustack   a mobile-friendly web content management system (cms)drustack   a mobile-friendly web content management system (cms)
drustack a mobile-friendly web content management system (cms)
 
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile Development
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile DevelopmentCUHK CSCI 4140 2015 Spring Guest Lecture - Agile Development
CUHK CSCI 4140 2015 Spring Guest Lecture - Agile Development
 
IT Entrepreneurship Talk - City University of Hong Kong
IT Entrepreneurship Talk - City University of Hong KongIT Entrepreneurship Talk - City University of Hong Kong
IT Entrepreneurship Talk - City University of Hong Kong
 
OSS Community Meeting - OSS Community Management for Dummy
OSS Community Meeting - OSS Community Management for DummyOSS Community Meeting - OSS Community Management for Dummy
OSS Community Meeting - OSS Community Management for Dummy
 
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management SystemBarcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
Barcamp Hong Kong 2014 - Commercial Use of OSS Web Content Management System
 
Hong Kong Drupal User Group - Nov 8th
Hong Kong Drupal User Group - Nov 8thHong Kong Drupal User Group - Nov 8th
Hong Kong Drupal User Group - Nov 8th
 
Entrepreneurship Talk
Entrepreneurship TalkEntrepreneurship Talk
Entrepreneurship Talk
 
Open Source.HK Workshop - 2014 Oct 11th
Open Source.HK Workshop - 2014 Oct 11thOpen Source.HK Workshop - 2014 Oct 11th
Open Source.HK Workshop - 2014 Oct 11th
 

Último

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
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 Processorsdebabhi2
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 

Último (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
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
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 

Open Innovation Lab (OIL) - 20150227 - GIT Intro Workshop

  • 1. Open Innovation Lab (OIL) GIT Intro Workshop PantaRei Design Limited Wong Hoi Sing, Edison 2015 Feb 27th
  • 2. Wong Hoi Sing, Edison ● CEO, Founder, PantaRei Design – 2009, PantaRei Design founded – 2010, HKFYG YBHK applicant – 2011, ITF SERAP applicant – 2011, HKSTP Incu-Tech applicant ● FOSS and Drupal Developer, Contributor and HKDUG Co-founder – 2000, Debian GNU/Linux 2.2 ('potato') – 2005, Drupal Developer – 2008, BarCamp HK Speaker – 2008, HKDUG Co-founder – 2011, Drupal 7.x Core Contributor ● hswong3i@pantarei-design.com ● https://www.drupal.org/u/hswong3i
  • 3. PantaRei Design ● Hong Kong based FOSS service provider – Content Management System (CMS) with Drupal – Cloud Hosting Solution with Amazon Web Services (AWS) ● Business Partner with industry leaders – 2012, AWS Consulting Partner – 2013, Acquia Partner – 2013, Atlassian Experts – 2014, Rackspace Hosting Partner
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10. Outline ● What is GIT? ● Why GIT? ● 15mins Tutorial ● Advanced Topic(s)
  • 11. What is GIT? ● Distributed revision control and source code management (SCM) system ● Designed to handle everything from small to very large projects ● Designed and developed by Linus Torvalds for Linux kernel development in 2005
  • 12.
  • 13. Why GIT? ● Manage code changes by rename file will soon reach its limitation, e.g. – mycode-20140308.php – mycode-201403080930.php ● Archive entire folder will make case even worse – Need to extract before compare the changes ● Share progress with co-workers become nightmare
  • 14. Why GIT? (cont.) ● CVS – Manage revision per file (rename not support) – Remote repository server required (no local folder offline management) – Single commit management (other else contribute by submit patches) – TOOOOO OLD (well...) ● Used by Drupal during 7.x development cycle ● After Drupal 7 released, soon migrated to GIT
  • 15. Why GIT? (cont.) ● SVN – Manage revision per folder – Remote repository server required – Single commit management – A bit better than CVS, but branching model still looks crazy ● At least, we now have GIT, why still using SVN?
  • 16. Why GIT? (cont.) ● GIT – Manage revision per entire project – Remote/local repository supported ● git init ● git add --all . ● git commit -am 'Initial commit' ● git log ● git status – Distributed workflows – Used by https://drupal.org/ since Drupal 7 – You also know https://github.com/, isn't it?
  • 17.
  • 18. 15mins Tutorial ● Installation – Debian/Ubuntu ● apt-get install git git-flow – Mac ● brew install git git-flow – Windows ● https://msysgit.github.io/
  • 19. 15mins Tutorial (cont.) ● Basic commands – git init – git status – git add – git rm – git commit – git log
  • 20. 15mins Tutorial (cont.) ● Remote commands – git remote – git push – git pull
  • 21. 15mins Tutorial (cont.) ● Advanced commands – git diff – git reset – git checkout – git branch – git merge
  • 22.
  • 23. Advanced Topic(s) ● Gitflow Workflow ● Continuous Integration (CI) ● Migrate to GIT from SVN ● Dropbox-like File Sharing
  • 24. Gitflow Workflow ● The Gitflow Workflow defines a strict branching model designed around the project release ● Developers work locally and push branches to the central repo ● The only difference is the branch structure of the project
  • 25.
  • 26.
  • 27.
  • 28.
  • 29. Continuous Integration (CI) ● Test-Driven Development (TDD) or Behavior- Driven Development (BDD) ● Combination with automated unit tests, e.g. running phpunit per each GIT commit – GitHub → Travis CI – Stash → Bamboo
  • 30.
  • 31.
  • 32.
  • 33. Migrate to GIT from SVN ● Prepare your environment for the migration. ● Convert the SVN repository to a local GIT repository. ● Synchronize the local GIT repository when the SVN repository changes. ● Share the GIT repository with your developers via Bitbucket. ● Migrate your development efforts from SVN to GIT.
  • 34.
  • 35. Dropbox-like File Sharing ● Dropbox – Public cloud-based file hosting service ● GIT – Repository management with history ● SparkleShare – GIT-based file hosting solution with history – Just manage share and permission as normal GIT repository – Support public (e.g. GitHub, BitBucket) or private (e.g. Stash, GitLab) GIT repository – Suitable for small size file sharing – Dropbox-like operation, NO GIT command is required!!
  • 36.
  • 37.
  • 38. Dropbox-like File Sharing (cont.) ● BitTorrent Sync – Peer-to-peer file synchronization – Over the Internet via secure, distributed P2P technology ● Unlike GIT-based solution: – Suitable for large-size binary file hosting – No complete history support ● How we use SparkleShare and BitTorrent Sync? – BitTorrent Sync: Short-term working copy sharing – SparkleShare: Long-lasting archive with history
  • 39.
  • 40.
  • 41. Q&A
  • 42. References ● http://git-scm.com/ ● https://try.github.io/levels/1/challenges/1 ● http://www.slideshare.net/svenpeters/getting-git-right ● https://www.atlassian.com/git/tutorials ● http://nvie.com/posts/a-successful-git-branching-model/ ● https://github.com/nvie/gitflow ● https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow ● http://danielkummer.github.io/git-flow-cheatsheet/ ● http://www.webupd8.org/2011/03/set-up-sparkleshare-with-your-own.html ● http://www.webupd8.org/2014/03/install-bittorrent-sync-gui-in-ubuntu.html
  • 43. Thank You ● Please feel free to contact us: – PantaRei Design Limited – Unit 326, 3/F, Building 16W No.16 Science Park West Avenue Hong Kong Science Park, Shatin, N.T. – Phone: +852 2576 3812 – Fax: +852 3753 3663 – Email: sales@pantarei-design.com – Web: http://pantarei-design.com