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
Git
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
GDG Aracaju
March 07, 2015
Programming
82
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git
Talk by @erickmendonca
GDG Aracaju
March 07, 2015
More Decks by GDG Aracaju
See All by GDG Aracaju
Como aumentar a sua produtividade no Android Studio
gdgaracaju
0
170
Firebase e Android
gdgaracaju
0
100
Aplicações em Asp.NET WebAPI 2.2 e AngularJS
gdgaracaju
2
130
Android + Chromecast
gdgaracaju
1
70
Introdução ao Android Wear
gdgaracaju
0
48
Backend para aplicativos mobile
gdgaracaju
0
45
Segurança no Android
gdgaracaju
0
47
Android Fundamentals Lesson 3 review
gdgaracaju
0
48
Suporte múltiplas telas no Android
gdgaracaju
0
160
Other Decks in Programming
See All in Programming
使用 Meilisearch 建立新聞搜尋工具
johnroyer
0
180
吝嗇家のためのAI活用 / AI development for miser - ChatGPT + Issue Driven Development
tooppoo
0
200
関数型プログラミングのメリットって何だろう?
wanko_it
0
200
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
250
JAWS-UG横浜 #102 AWSサ終供養LT会 成仏できない AWS サービスたち 〜本日、三体供養します〜
maroon1st
0
240
仕様書を書く前にハーネスを作る - Agent Native開発は「探索を速く、判定を固く」
gotalab555
2
470
コーディングルールの鮮度を保ちたい for SRE NEXT 2026 / keep-fresh-go-internal-conventions-sre-next-2026
handlename
0
150
【やさしく解説 設計編・中級 #6】良いアーキテクチャとは ~ 一本の登り道の、行き先 ~
panda728
PRO
0
180
Welcome to the "Parametricity" 🏙️ − Generic だけど Specific な世界 −
guvalif
PRO
1
180
Foundation Models frameworkで画像分析
ryodeveloper
1
140
AI時代の仕事技芸論〜ソフトウェア開発で「遊ぶように働く」職人的熟達のすすめ(スクフェス仙台 2026バージョン)
kuranuki
0
730
人間の目はかわらない、だからJPEGは30年もつ
yuzneri
12
16k
Featured
See All Featured
Prompt Engineering for Job Search
mfonobong
0
380
Making the Leap to Tech Lead
cromwellryan
135
10k
Chasing Engaging Ingredients in Design
codingconduct
0
240
エンジニアに許された特別な時間の終わり
watany
108
250k
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
190
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
600
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
23k
What's in a price? How to price your products and services
michaelherold
247
13k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Building the Perfect Custom Keyboard
takai
2
820
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
420
Transcript
Git Erick Mendonça
Sobre mim GitHub @erickmendonca Google+ +ErickMendonca
Agenda Git • O que é • Como usar?
O que é? • Controle de versão distribuído • Gratuito
e open source • Inicialmente desenvolvido por Linus Torvalds • Licença: GNU GPL v2 • Lançado em 07 de abril de 2005
Criando, usando e visualizando um repositório Git pela linha de
comando Básico
git init O comando git init inicia um novo repositório.
Se não for informada uma pasta, ele cria no diretório atual! git init <pasta>
None
git clone O comando git clone cria uma cópia local
de um repositório Git. É o método mais comum de obter o código de alguém! git clone <repositório> <pasta>
None
git config O comando git config te permite alterar algumas
configurações de sua instalação Git. git config <opções>
None
git add O comando git add te permite selecionar quais
arquivos serão salvos no controle de versão. git add <arquivo/pasta>
None
git commit O comando git commit pega os arquivos selecionados
e os salvam no histórico do projeto. git commit -m <mensagem>
None
git status O comando git status mostra o estado atual
da pasta de trabalho. git status
None
git log O comando git log permite inspecionar o histórico
do projeto. git log <opções>
None
git checkout O comando git checkout possui vários usos: checar
arquivos, commits e branches. git checkout <commit/branch>
None
None
git revert O comando git revert desfaz um commit salvo,
mas sem alterar o histórico do projeto. git revert <commit>
None
git reset O comando git reset desfaz alterações em arquivos
na pasta de trabalho. git reset <opções> <arquivo>
None
git clean O comando git clean remove arquivos que não
estão no repositório da pasta de trabalho. git clean <opções>
None
git branch O comando git branch permite criar ambientes de
desenvolvimento isolados dentro do mesmo repositório. git branch <nome>
None
git merge O comando git merge é uma forma poderosa
de integrar mudanças em branches diferentes. git merge <opções> <branch>
None
git commit --amend A opção --amend permite que você possa
refazer o último commit, corrigindo algum problema ou adicionando alguma coisa. git commit --amend
None
git rebase O comando git rebase permite mover branches, alterando
o histórico para que seja mais linear. git rebase <base>
None
None
None
None
None
None
Repositórios remotos
git remote O comando git remote permite gerenciar as conexões
remotas do seu repositório. git remote <opções>
None
git fetch O comando git fetch baixa uma branch de
outro repositório remoto, como todos os commits e arquivos. git fetch <remoto> <branch>
None
git pull O comando git pull é uma automatização: ele
faz o fetch do repo remoto e o merge com o branch atual. git pull <opções> <remoto>
None
git push O comando git push move uma branch local
para outro repositório. Envia o seu código para outro lugar! git push <remoto> <branch>
None
Workflows
None
None
None
Obrigado!