SlideShare uma empresa Scribd logo
1 de 15
Baixar para ler offline
Git
From init to branches
Bruno Almeida
who is this guy?
Hometown @ Lages, Santa Catarina
Fullstack Ruby Engineer @
Resultados Digitais
Passionate Developer @ GoforGood
@wwwbruno
Git, Rails, Docker and Open Source
lover <3
Mindset
What is Git?
What about other VCS?
Git
From init to branches
terminal vs gui
init, add, commit and push
pull vs fetch && rebase
branch develop
branch many features
pull request
pro tips
$ terminal vs gui
$ init, add, commit and push
● git init
● git add
● git commit -m “Add initial files”
● git push -u origin master
$ pull vs fetch && rebase
Pull
● does a fetch and merge
● all commits in the end
Fetch && rebase
● all commits in order
$ brach develop
● git fetch origin develop
● git checkout develop
● git add .
● git commit
● git push origin develop
$ brach many features
● pattern
● name with meaning
● unique
vortex-kpi-first-form-integration-conversion
vortex-bugfix-api-accept-datetime-object
$ pull request
● what is it?
● what did you do?
● who to test?
● observations
● code review and discuss!
$ pro tips
● git diff
● git add -p
● git commit --amend
● git reset --hard HEAD
● git config alias.st status
Thank you
terminal vs gui
init, add, commit and push
pull vs fetch && rebase
branch develop
branch many features
pull request
pro tips
Questions? See you @ Github

Mais conteúdo relacionado

Mais procurados

How GitHub impacts our career life?
How GitHub impacts our career life?How GitHub impacts our career life?
How GitHub impacts our career life?Cosmo Q
 
How to Git and Github | Hands on workshop
How to Git and Github | Hands on workshopHow to Git and Github | Hands on workshop
How to Git and Github | Hands on workshopPavitraBhagat
 
componentDidCatch and Error Boundaries in React v16+
componentDidCatch and Error Boundaries in React v16+componentDidCatch and Error Boundaries in React v16+
componentDidCatch and Error Boundaries in React v16+Rohan Nair
 
Git workflows (Basics)
Git workflows (Basics)Git workflows (Basics)
Git workflows (Basics)Roman Kuba
 
Stable master workflow with Gerrit Code Review
Stable master workflow with Gerrit Code ReviewStable master workflow with Gerrit Code Review
Stable master workflow with Gerrit Code ReviewLuca Milanesio
 
Migrating python.org to buildbot 9 and python 3
Migrating python.org to buildbot 9 and python 3Migrating python.org to buildbot 9 and python 3
Migrating python.org to buildbot 9 and python 3Craig Rodrigues
 
Android build process (1)
Android build process (1)Android build process (1)
Android build process (1)Shubham Goyal
 
Improving your workflow with git
Improving your workflow with gitImproving your workflow with git
Improving your workflow with gitDídac Ríos
 
Golang taipei #45 10th birthday
Golang taipei #45 10th birthdayGolang taipei #45 10th birthday
Golang taipei #45 10th birthdayEvan Lin
 
EOY Project Pitch - Elaine Yeung
EOY Project Pitch - Elaine YeungEOY Project Pitch - Elaine Yeung
EOY Project Pitch - Elaine YeungElaine Yeung
 
How I become Go GDE
How I become Go GDEHow I become Go GDE
How I become Go GDEEvan Lin
 
WeCodeFest: kubernetes and google container engine codelab
WeCodeFest:  kubernetes and google container engine codelabWeCodeFest:  kubernetes and google container engine codelab
WeCodeFest: kubernetes and google container engine codelabLaura Morillo-Velarde Rodríguez
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GITGhadiAlGhosh
 
Git workflows presentation
Git workflows presentationGit workflows presentation
Git workflows presentationMack Hardy
 

Mais procurados (20)

How GitHub impacts our career life?
How GitHub impacts our career life?How GitHub impacts our career life?
How GitHub impacts our career life?
 
How to Git and Github | Hands on workshop
How to Git and Github | Hands on workshopHow to Git and Github | Hands on workshop
How to Git and Github | Hands on workshop
 
componentDidCatch and Error Boundaries in React v16+
componentDidCatch and Error Boundaries in React v16+componentDidCatch and Error Boundaries in React v16+
componentDidCatch and Error Boundaries in React v16+
 
Advanced Git
Advanced GitAdvanced Git
Advanced Git
 
Git workflows (Basics)
Git workflows (Basics)Git workflows (Basics)
Git workflows (Basics)
 
Stable master workflow with Gerrit Code Review
Stable master workflow with Gerrit Code ReviewStable master workflow with Gerrit Code Review
Stable master workflow with Gerrit Code Review
 
Migrating python.org to buildbot 9 and python 3
Migrating python.org to buildbot 9 and python 3Migrating python.org to buildbot 9 and python 3
Migrating python.org to buildbot 9 and python 3
 
Android build process (1)
Android build process (1)Android build process (1)
Android build process (1)
 
Git & Github
Git & GithubGit & Github
Git & Github
 
Improving your workflow with git
Improving your workflow with gitImproving your workflow with git
Improving your workflow with git
 
Golang taipei #45 10th birthday
Golang taipei #45 10th birthdayGolang taipei #45 10th birthday
Golang taipei #45 10th birthday
 
Introduction To Git
Introduction To GitIntroduction To Git
Introduction To Git
 
Git basics : a beginner's guide
Git basics : a beginner's guideGit basics : a beginner's guide
Git basics : a beginner's guide
 
EOY Project Pitch - Elaine Yeung
EOY Project Pitch - Elaine YeungEOY Project Pitch - Elaine Yeung
EOY Project Pitch - Elaine Yeung
 
How I become Go GDE
How I become Go GDEHow I become Go GDE
How I become Go GDE
 
Git flow
Git flowGit flow
Git flow
 
WeCodeFest: kubernetes and google container engine codelab
WeCodeFest:  kubernetes and google container engine codelabWeCodeFest:  kubernetes and google container engine codelab
WeCodeFest: kubernetes and google container engine codelab
 
Getting started With GIT
Getting started With GITGetting started With GIT
Getting started With GIT
 
Git workflows presentation
Git workflows presentationGit workflows presentation
Git workflows presentation
 
Git & github
Git & githubGit & github
Git & github
 

Destaque

Ways_2_Develop_10_Highly_demanded_Professional_Skills(1)
Ways_2_Develop_10_Highly_demanded_Professional_Skills(1)Ways_2_Develop_10_Highly_demanded_Professional_Skills(1)
Ways_2_Develop_10_Highly_demanded_Professional_Skills(1)Kausar Rehman Khan
 
Union from C and Data Strutures
Union from C and Data StruturesUnion from C and Data Strutures
Union from C and Data StruturesAcad
 
Presentaciónmasias
PresentaciónmasiasPresentaciónmasias
Presentaciónmasiaselvisrosas
 
Civics 101 presentation
Civics 101   presentationCivics 101   presentation
Civics 101 presentationtlevy1913
 
Presentación2
Presentación2Presentación2
Presentación2elvisrosas
 
Palestra Certificações Scrum Alliance
Palestra Certificações Scrum AlliancePalestra Certificações Scrum Alliance
Palestra Certificações Scrum AllianceAdrianaAguiar
 
Tugas univ pancasila etika dalam kegiatan ekonomi
Tugas univ pancasila etika dalam kegiatan ekonomiTugas univ pancasila etika dalam kegiatan ekonomi
Tugas univ pancasila etika dalam kegiatan ekonomipuput umayati
 
Product diversification
Product diversificationProduct diversification
Product diversificationShopno Nil
 
Corporate finance the Initial Public Offering process
Corporate finance the Initial Public Offering processCorporate finance the Initial Public Offering process
Corporate finance the Initial Public Offering processJean Lemercier
 

Destaque (16)

Ways_2_Develop_10_Highly_demanded_Professional_Skills(1)
Ways_2_Develop_10_Highly_demanded_Professional_Skills(1)Ways_2_Develop_10_Highly_demanded_Professional_Skills(1)
Ways_2_Develop_10_Highly_demanded_Professional_Skills(1)
 
BOST[ON] Deck
BOST[ON] DeckBOST[ON] Deck
BOST[ON] Deck
 
Union from C and Data Strutures
Union from C and Data StruturesUnion from C and Data Strutures
Union from C and Data Strutures
 
11th Annual HSR Conference: Partnering for Better Health: Bringing Utah's Pat...
11th Annual HSR Conference: Partnering for Better Health: Bringing Utah's Pat...11th Annual HSR Conference: Partnering for Better Health: Bringing Utah's Pat...
11th Annual HSR Conference: Partnering for Better Health: Bringing Utah's Pat...
 
Presentaciónmasias
PresentaciónmasiasPresentaciónmasias
Presentaciónmasias
 
Civics 101 presentation
Civics 101   presentationCivics 101   presentation
Civics 101 presentation
 
Publicity
PublicityPublicity
Publicity
 
Simpolo Company Profile
Simpolo Company ProfileSimpolo Company Profile
Simpolo Company Profile
 
Presentación2
Presentación2Presentación2
Presentación2
 
Dsb First Contact F
Dsb First Contact FDsb First Contact F
Dsb First Contact F
 
Palestra Certificações Scrum Alliance
Palestra Certificações Scrum AlliancePalestra Certificações Scrum Alliance
Palestra Certificações Scrum Alliance
 
Tugas univ pancasila etika dalam kegiatan ekonomi
Tugas univ pancasila etika dalam kegiatan ekonomiTugas univ pancasila etika dalam kegiatan ekonomi
Tugas univ pancasila etika dalam kegiatan ekonomi
 
Chocolate cake
Chocolate cakeChocolate cake
Chocolate cake
 
Patient Centered Outcomes Research: Perspectives from Patients, Providers, He...
Patient Centered Outcomes Research: Perspectives from Patients, Providers, He...Patient Centered Outcomes Research: Perspectives from Patients, Providers, He...
Patient Centered Outcomes Research: Perspectives from Patients, Providers, He...
 
Product diversification
Product diversificationProduct diversification
Product diversification
 
Corporate finance the Initial Public Offering process
Corporate finance the Initial Public Offering processCorporate finance the Initial Public Offering process
Corporate finance the Initial Public Offering process
 

Semelhante a Git - Workshop Disruptiva

Semelhante a Git - Workshop Disruptiva (20)

GIT_GITHUB_2016_06_17
GIT_GITHUB_2016_06_17GIT_GITHUB_2016_06_17
GIT_GITHUB_2016_06_17
 
Git basics
Git basicsGit basics
Git basics
 
Git advanced
Git advancedGit advanced
Git advanced
 
Git basics
Git basicsGit basics
Git basics
 
Managing e commerce systems codebase with git
Managing e commerce systems codebase with gitManaging e commerce systems codebase with git
Managing e commerce systems codebase with git
 
Git Distributed Version Control System
Git   Distributed Version Control SystemGit   Distributed Version Control System
Git Distributed Version Control System
 
Github By Nyros Developer
Github By Nyros DeveloperGithub By Nyros Developer
Github By Nyros Developer
 
Open source
Open sourceOpen source
Open source
 
Git presentation
Git presentationGit presentation
Git presentation
 
Wokshop de Git
Wokshop de Git Wokshop de Git
Wokshop de Git
 
Brief tutorial on Git
Brief tutorial on GitBrief tutorial on Git
Brief tutorial on Git
 
GIT from n00b
GIT from n00bGIT from n00b
GIT from n00b
 
Getting some Git
Getting some GitGetting some Git
Getting some Git
 
Pro git - grasping it conceptually
Pro git - grasping it conceptuallyPro git - grasping it conceptually
Pro git - grasping it conceptually
 
Bitbucket and Git
Bitbucket and GitBitbucket and Git
Bitbucket and Git
 
Git tips
Git tipsGit tips
Git tips
 
Git Ninja KT (GitHub to GitLab)
Git Ninja KT (GitHub to GitLab)Git Ninja KT (GitHub to GitLab)
Git Ninja KT (GitHub to GitLab)
 
Git & GitHub WorkShop
Git & GitHub WorkShopGit & GitHub WorkShop
Git & GitHub WorkShop
 
Open Source_Git.pptx
Open Source_Git.pptxOpen Source_Git.pptx
Open Source_Git.pptx
 
Git with the flow
Git with the flowGit with the flow
Git with the flow
 

Mais de Bruno Almeida

How to not make your Rails application in a huge monolith
How to not make your Rails application in a huge monolithHow to not make your Rails application in a huge monolith
How to not make your Rails application in a huge monolithBruno Almeida
 
How to not create an unbreakable Rails monolith
How to not create an unbreakable Rails monolithHow to not create an unbreakable Rails monolith
How to not create an unbreakable Rails monolithBruno Almeida
 
Golang - Why is so fun?
Golang - Why is so fun?Golang - Why is so fun?
Golang - Why is so fun?Bruno Almeida
 
Understanding form helpers
Understanding form helpersUnderstanding form helpers
Understanding form helpersBruno Almeida
 

Mais de Bruno Almeida (6)

How to not make your Rails application in a huge monolith
How to not make your Rails application in a huge monolithHow to not make your Rails application in a huge monolith
How to not make your Rails application in a huge monolith
 
How to not create an unbreakable Rails monolith
How to not create an unbreakable Rails monolithHow to not create an unbreakable Rails monolith
How to not create an unbreakable Rails monolith
 
Golang - Why is so fun?
Golang - Why is so fun?Golang - Why is so fun?
Golang - Why is so fun?
 
From zero to git
From zero to gitFrom zero to git
From zero to git
 
Understanding form helpers
Understanding form helpersUnderstanding form helpers
Understanding form helpers
 
Git para inciantes
Git para inciantesGit para inciantes
Git para inciantes
 

Último

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Zilliz
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...apidays
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
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
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusZilliz
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
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.pptxRustici Software
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
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
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
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 TerraformAndrey Devyatkin
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 

Último (20)

Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
Apidays Singapore 2024 - Scalable LLM APIs for AI and Generative AI Applicati...
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
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
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
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)
 
A Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source MilvusA Beginners Guide to Building a RAG App Using Open Source Milvus
A Beginners Guide to Building a RAG App Using Open Source Milvus
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
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
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
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...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
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
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 

Git - Workshop Disruptiva

  • 1. Git From init to branches
  • 2. Bruno Almeida who is this guy? Hometown @ Lages, Santa Catarina Fullstack Ruby Engineer @ Resultados Digitais Passionate Developer @ GoforGood @wwwbruno Git, Rails, Docker and Open Source lover <3
  • 6. Git From init to branches terminal vs gui init, add, commit and push pull vs fetch && rebase branch develop branch many features pull request pro tips
  • 8. $ init, add, commit and push ● git init ● git add ● git commit -m “Add initial files” ● git push -u origin master
  • 9. $ pull vs fetch && rebase Pull ● does a fetch and merge ● all commits in the end Fetch && rebase ● all commits in order
  • 10. $ brach develop ● git fetch origin develop ● git checkout develop ● git add . ● git commit ● git push origin develop
  • 11. $ brach many features ● pattern ● name with meaning ● unique vortex-kpi-first-form-integration-conversion vortex-bugfix-api-accept-datetime-object
  • 12. $ pull request ● what is it? ● what did you do? ● who to test? ● observations ● code review and discuss!
  • 13. $ pro tips ● git diff ● git add -p ● git commit --amend ● git reset --hard HEAD ● git config alias.st status
  • 14. Thank you terminal vs gui init, add, commit and push pull vs fetch && rebase branch develop branch many features pull request pro tips
  • 15. Questions? See you @ Github