SlideShare uma empresa Scribd logo
1 de 45
Baixar para ler offline
Ver.2 for teamsite management
Nguyen Minh Tuan @FSS
File management
Git solution
Install & try
Workflow
File management
Git solution
Install & try
Workflow
How are you
Managing
your files
Folder based
File management?
Newest?
Where was changed?
Rollback?
I modified file A and upped to
server, please download
DON’T TOUCH! I am
modifying it
We want to release. Send us the
newest, and stop your service!
This version has problem.
Please undo Mr. A, Ms. B,
Ms. C’s modification ASAP
Where did you change? Please
mark it, or note some where
Version control
File management
Git solution
Install & try
Workflow
Take snapshots of files in
every version (commit)
5W1H info in every version (commit)
Commit #4
(newest)
Commit #1
(oldest) Commit #2 Commit #3
Who created this commit (author)
What was modified (files)
Where was modified (detail)
When was this modification made (time)
Why does this modification need (message)
How is it related to other commits (parents)
1 2 3 4
Get Get Have
Can Revert
to any previous version
How it works?
remote repo
A
How it works?
Local repo 1
A
remote repo
A
clone
How it works?
Local repo 1
A
A’
Modify
A => A’
remote repo
A
How it works?
Local repo 1
A’
A’
Modify
A => A’
Commit
remote repo
A
How it works?
Local repo 1
A’
A’
Modify
A => A’
Commit
remote repo
A
How it works?
Local repo 1
A’
A’
Modify
A => A’
Commit
remote repo
Push
A’
How it works?
Local repo 1
A’
A’
Modify
A => A’
Commit
remote repo
Push
Local repo 2
A
A’
How it works?
Local repo 1
A’
A’
Modify
A => A’
Commit
remote repo
Push
Local repo 2
Pull
A’
A’
How it works?
Everyone with permission from
everywhere can get the
newest version and modify
history of that files
whenever they need
File management
Git solution
Install & try
Workflow
Tools
Black console
Can do everything
Need to remember commands
I rarely use it.
SourceTree
A GUI client for GIT
Don’t need to remember commands
Easy to use, confirm modifications
Install
http://www.sourcetreeapp.com/
https://git.dev.rakuten.com/projects/
LOTT/repos/teamsite/browse
Change local directory (where you want to
save to) if need
After clone
Add/ modify something (add file 1)
Move modified files from “working” to “staged”
Click “Commit”
add your comment ( what did you change, why,
where, etc )
Select your branches (master) to confirm the change
(push) to
update
to server
Select your branches (master) to confirm the change
(push) to
update
to server
Start a new modification?
1. Click
(pull) to
get latest
version
2. Confirm
source and
(OK)
Confirm the difference
(if required)
Start modification, test & save
Confirm modification
(if required)
Lines added+ some contents
Lines removed+ some contents
No changesome contents
Confirm modification => commit & push
File management
Git solution
Install & try
Workflow
clone modify
Add to stage
commit
pull
push
pull Get the latest source code
Add modification
Select what to update to server
Decide what to update with some note
Confirm again if there is any change?
Update to server
1 time
start
end
Trouble?
clone modify
Add to stage
commit
pull
push
pull
1 time
start
end
Conflict
Other people modified the
same file and push to
server after your last pull
Modify (resolve conflict) and add to stage again

Mais conteúdo relacionado

Mais procurados

Mais procurados (20)

Bitbucket git-bamboo-jira
Bitbucket git-bamboo-jiraBitbucket git-bamboo-jira
Bitbucket git-bamboo-jira
 
Git basics
Git basicsGit basics
Git basics
 
Git usage (Basics and workflow)
Git usage (Basics and workflow)Git usage (Basics and workflow)
Git usage (Basics and workflow)
 
What is version control software and why do you need it?
What is version control software and why do you need it?What is version control software and why do you need it?
What is version control software and why do you need it?
 
Git basics
Git basicsGit basics
Git basics
 
Git presentation
Git presentationGit presentation
Git presentation
 
Git in the Van HighEdWeb 2013
Git in the Van HighEdWeb 2013Git in the Van HighEdWeb 2013
Git in the Van HighEdWeb 2013
 
Version control
Version controlVersion control
Version control
 
Git & Github
Git & GithubGit & Github
Git & Github
 
Git and github fundamentals
Git and github fundamentalsGit and github fundamentals
Git and github fundamentals
 
Git introduction for Beginners
Git introduction for BeginnersGit introduction for Beginners
Git introduction for Beginners
 
Git and git flow
Git and git flowGit and git flow
Git and git flow
 
Git Series. Episode 2. Merge, Upstream Commands and Tags
Git Series. Episode 2. Merge, Upstream Commands and TagsGit Series. Episode 2. Merge, Upstream Commands and Tags
Git Series. Episode 2. Merge, Upstream Commands and Tags
 
Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
Introduction to Git(BitBucket) , Continuous Integration (Bamboo) & Confluence
 
Workshop on Git and GitHub
Workshop on Git and GitHubWorkshop on Git and GitHub
Workshop on Git and GitHub
 
Conversational Development [Agile Portugal]
Conversational Development [Agile Portugal]Conversational Development [Agile Portugal]
Conversational Development [Agile Portugal]
 
Git Version Control System
Git Version Control SystemGit Version Control System
Git Version Control System
 
Introduction to github slideshare
Introduction to github slideshareIntroduction to github slideshare
Introduction to github slideshare
 
HacktoberFest-Git&GitHub
HacktoberFest-Git&GitHubHacktoberFest-Git&GitHub
HacktoberFest-Git&GitHub
 
Enjoy privacy on Gitlab
Enjoy privacy on GitlabEnjoy privacy on Gitlab
Enjoy privacy on Gitlab
 

Destaque

มโนท ศน เทคโนโลย_ทางการศ_กษา
มโนท ศน เทคโนโลย_ทางการศ_กษามโนท ศน เทคโนโลย_ทางการศ_กษา
มโนท ศน เทคโนโลย_ทางการศ_กษา
Julalak Kaewjoonla
 
დედამიწის წყლისა და ხმელეთის ობიექტები
დედამიწის წყლისა და ხმელეთის ობიექტებიდედამიწის წყლისა და ხმელეთის ობიექტები
დედამიწის წყლისა და ხმელეთის ობიექტები
irmasurmanidze5
 
3 soluzioni per restare in forma mantenendo il gusto
3 soluzioni per restare in forma mantenendo il gusto3 soluzioni per restare in forma mantenendo il gusto
3 soluzioni per restare in forma mantenendo il gusto
Valentina Mortini
 
Anntech New Profile Modified 28042012
Anntech New Profile Modified 28042012Anntech New Profile Modified 28042012
Anntech New Profile Modified 28042012
ashokanp
 
Holiday Childcare Survey 2014
Holiday Childcare Survey 2014Holiday Childcare Survey 2014
Holiday Childcare Survey 2014
Family and Childcare Trust
 
Ancientcivilizations 120112150911-phpapp01
Ancientcivilizations 120112150911-phpapp01Ancientcivilizations 120112150911-phpapp01
Ancientcivilizations 120112150911-phpapp01
Ancel Riego de Dios
 

Destaque (20)

Invitation 2 party
Invitation 2 partyInvitation 2 party
Invitation 2 party
 
Vietnam history & culture, ベトナムの歴史と文化
Vietnam history & culture, ベトナムの歴史と文化Vietnam history & culture, ベトナムの歴史と文化
Vietnam history & culture, ベトナムの歴史と文化
 
Esperimento della rana bollita di informazioni sanità
Esperimento della rana bollita di informazioni sanitàEsperimento della rana bollita di informazioni sanità
Esperimento della rana bollita di informazioni sanità
 
มโนท ศน เทคโนโลย_ทางการศ_กษา
มโนท ศน เทคโนโลย_ทางการศ_กษามโนท ศน เทคโนโลย_ทางการศ_กษา
มโนท ศน เทคโนโลย_ทางการศ_กษา
 
III Conferência CMMI Portugal, Workshop 1: Introduction to change Management,...
III Conferência CMMI Portugal, Workshop 1: Introduction to change Management,...III Conferência CMMI Portugal, Workshop 1: Introduction to change Management,...
III Conferência CMMI Portugal, Workshop 1: Introduction to change Management,...
 
III Conferência CMMI Portugal, Keynote 2: CMMI for Services... not only for I...
III Conferência CMMI Portugal, Keynote 2: CMMI for Services... not only for I...III Conferência CMMI Portugal, Keynote 2: CMMI for Services... not only for I...
III Conferência CMMI Portugal, Keynote 2: CMMI for Services... not only for I...
 
Siddharth gaur
Siddharth gaurSiddharth gaur
Siddharth gaur
 
დედამიწის წყლისა და ხმელეთის ობიექტები
დედამიწის წყლისა და ხმელეთის ობიექტებიდედამიწის წყლისა და ხმელეთის ობიექტები
დედამიწის წყლისა და ხმელეთის ობიექტები
 
Raii
RaiiRaii
Raii
 
Uga 01
Uga 01Uga 01
Uga 01
 
3 soluzioni per restare in forma mantenendo il gusto
3 soluzioni per restare in forma mantenendo il gusto3 soluzioni per restare in forma mantenendo il gusto
3 soluzioni per restare in forma mantenendo il gusto
 
Corporate communication
Corporate communicationCorporate communication
Corporate communication
 
Anntech New Profile Modified 28042012
Anntech New Profile Modified 28042012Anntech New Profile Modified 28042012
Anntech New Profile Modified 28042012
 
Lecture3
Lecture3Lecture3
Lecture3
 
Ch1
Ch1Ch1
Ch1
 
Getting Buy-in from Administrators for Social Media
Getting Buy-in from Administrators for Social MediaGetting Buy-in from Administrators for Social Media
Getting Buy-in from Administrators for Social Media
 
Ameri doc bene presentation
Ameri doc  bene presentationAmeri doc  bene presentation
Ameri doc bene presentation
 
Holiday Childcare Survey 2014
Holiday Childcare Survey 2014Holiday Childcare Survey 2014
Holiday Childcare Survey 2014
 
Leadership
LeadershipLeadership
Leadership
 
Ancientcivilizations 120112150911-phpapp01
Ancientcivilizations 120112150911-phpapp01Ancientcivilizations 120112150911-phpapp01
Ancientcivilizations 120112150911-phpapp01
 

Semelhante a Git. EVEN more basic (for business people)

SessionThree_IntroductionToVersionControlSystems
SessionThree_IntroductionToVersionControlSystemsSessionThree_IntroductionToVersionControlSystems
SessionThree_IntroductionToVersionControlSystems
Hellen Gakuruh
 

Semelhante a Git. EVEN more basic (for business people) (20)

GIT_Overview.
GIT_Overview.GIT_Overview.
GIT_Overview.
 
Git
GitGit
Git
 
Git&GitHub.pptx
Git&GitHub.pptxGit&GitHub.pptx
Git&GitHub.pptx
 
Roslyn on GitHub
Roslyn on GitHubRoslyn on GitHub
Roslyn on GitHub
 
Version controll.pptx
Version controll.pptxVersion controll.pptx
Version controll.pptx
 
Intro to git (UT biocomputing 2015)
Intro to git (UT biocomputing 2015)Intro to git (UT biocomputing 2015)
Intro to git (UT biocomputing 2015)
 
Git for the absolute beginners
Git for the absolute beginnersGit for the absolute beginners
Git for the absolute beginners
 
Git basics
Git basicsGit basics
Git basics
 
Git basics for beginners
Git basics for beginnersGit basics for beginners
Git basics for beginners
 
GIT: a Gentle InTroduction
GIT: a Gentle InTroductionGIT: a Gentle InTroduction
GIT: a Gentle InTroduction
 
BLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes DevelopersBLUG 2012 Version Control for Notes Developers
BLUG 2012 Version Control for Notes Developers
 
Geecon11 - Git: a Gentle InTroduction
Geecon11 -  Git: a Gentle InTroductionGeecon11 -  Git: a Gentle InTroduction
Geecon11 - Git: a Gentle InTroduction
 
Git introduction
Git introductionGit introduction
Git introduction
 
SessionThree_IntroductionToVersionControlSystems
SessionThree_IntroductionToVersionControlSystemsSessionThree_IntroductionToVersionControlSystems
SessionThree_IntroductionToVersionControlSystems
 
Introduction to git & GitHub
Introduction to git & GitHubIntroduction to git & GitHub
Introduction to git & GitHub
 
Release This! Tools for a Smooth Release Cycle
Release This! Tools for a Smooth Release CycleRelease This! Tools for a Smooth Release Cycle
Release This! Tools for a Smooth Release Cycle
 
git Introduction.pptx
git Introduction.pptxgit Introduction.pptx
git Introduction.pptx
 
Git and GitHub
Git and GitHubGit and GitHub
Git and GitHub
 
Git Mastery
Git MasteryGit Mastery
Git Mastery
 
version control system (2).pptx
version control system (2).pptxversion control system (2).pptx
version control system (2).pptx
 

Último

Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 

Git. EVEN more basic (for business people)