Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Introdução ao Git
Search
Juliana Negreiros
July 20, 2020
Technology
0
58
Introdução ao Git
Juliana Negreiros
July 20, 2020
Tweet
Share
More Decks by Juliana Negreiros
See All by Juliana Negreiros
Um guia para começar no mundo Front End
juunegreiros
0
340
Desmistificando a área de TI
juunegreiros
0
76
Como otimizar seu site com lighthouse e core web vitals
juunegreiros
0
430
Webpacker e a Jornada do Heroi
juunegreiros
0
30
Como modularizar seu front-end sem depender de um framework
juunegreiros
0
89
Sopa de Letrinhas CSS | Alphabet soup CSS
juunegreiros
1
78
Pensando logicamente: introdução à lógica de programação | Thinking logically: introduction to programming logic
juunegreiros
0
64
Carreiras em TI
juunegreiros
0
57
Javascript, um menino serelepe | Javascript, a serelepe guy
juunegreiros
0
270
Other Decks in Technology
See All in Technology
サラリーマンソフトウェアエンジニアのキャリア
yuheinakasaka
37
17k
AI駆動開発ライフサイクル(AI-DLC)の始め方
ryansbcho79
0
320
Keynoteから見るAWSの頭の中
nrinetcom
PRO
1
170
あの夜、私たちは「人間」に戻った。 ── 災害ユートピア、贈与、そしてアジャイルの再構築 / 20260108 Hiromitsu Akiba
shift_evolve
PRO
0
550
技術選定、下から見るか?横から見るか?
masakiokuda
0
190
複雑さを受け入れるか、拒むか? - 事業成長とともに育ったモノリスを前に私が考えたこと #RSGT2026
murabayashi
1
1.7k
2025-12-27 Claude CodeでPRレビュー対応を効率化する@機械学習社会実装勉強会第54回
nakamasato
4
1.4k
モノタロウ x クリエーションラインで実現する チームトポロジーにおける プラットフォームチーム・ ストリームアラインドチームの 効果的なコラボレーション
creationline
0
680
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
2.9k
Oracle Database@Azure:サービス概要のご紹介
oracle4engineer
PRO
3
320
人工知能のための哲学塾 ニューロフィロソフィ篇 第零夜 「ニューロフィロソフィとは何か?」
miyayou
0
410
AI に「学ばせ、調べさせ、作らせる」。Auth0 開発を加速させる7つの実践的アプローチ
scova0731
0
190
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
730
Design in an AI World
tapps
0
120
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
Digital Ethics as a Driver of Design Innovation
axbom
PRO
0
140
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.8k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
540
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.3k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
2
79
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
420
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.5k
Transcript
Introdução ao Git
O que é o Git?
Sistema de versionamento de código ou VCS (Version Control System)
O que um VCS faz?
Provê um histórico de mudanças
Provê um histórico de mudanças Permite voltar a um estado
anterior
Provê um histórico de mudanças Permite voltar a um estado
anterior Oferece suporte para o desenvolvimento paralelo
Indo mais além com o trabalho em equipe Plataformas Gitlab
Github Bitbucket
Por que versionar o meu código?
Reverter mudanças
Ter informações sobre o processo de desenvolvimento
Algumas perguntas que podem ser respondidas através do Git •
O que mudou? • Como o bug foi resolvido? • Quem fez as mudanças? • O que foi feito há um mês?
Unificar versões do desenvolvimento em paralelo
Evitar perdas e concertar acidentes
Fluxo do git
Repositório
Branch
Main
Commit
Main
Árvore
Main Secondary
Merge
Main Secondary
Rebase + merge
Main Secondary
Fluxo de trabalho individual
Inicializar o git git init
Clonar um repositório git clone
Criar uma branch para trabalhar git checkout -b nome-da-branch
Decidir quais alterações serão salvas git add "arquivo.js"
Criar o commit git commit
Subir as alterações git push origin nome-da-branch
Fluxo de trabalho coletivo
Abrir Pull Request
Abrir Pull Request
Abrir Pull Request
Abrir Pull Request
PR apontando para a branch certa
PR apontando para a branch certa
Revisar PR (importante!!!)
Revisar PR (importante!!!!)
Revisar PR (importante!!!!)
Mergear PR
Mergear PR
Issues
Issues
Projects
Projects
Automatizações
None
None
Deploy
Deploy
Integração Contínua e Desenvolvimento Contínuo (CI/CD)
Testes
Run Jest
Padronização
Super Linter
Utilidades
Arquivos
git add arquivo.js git rm arquivo.js
git stash git stash pop
git checkout -- arquivo.js
Mudanças
git diff
git log --oneline
git reflog git reset hashDoCommit
git commit --amend git push --force-with-lease
Branches
git checkout branch-alvo git branch -m novo-nome
git branch -d nomedabranch
- Documentação Github Actions - Documentação Git - Git -
the simple guide - Oh Shit, Git
Obrigada! @juunegreiros