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
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
GDG Aracaju
March 07, 2015
Programming
86
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
71
Introdução ao Android Wear
gdgaracaju
0
51
Backend para aplicativos mobile
gdgaracaju
0
45
Segurança no Android
gdgaracaju
0
47
Android Fundamentals Lesson 3 review
gdgaracaju
0
51
Suporte múltiplas telas no Android
gdgaracaju
0
160
Other Decks in Programming
See All in Programming
Webエンジニアなのにブラウザの仕組みがわからないので、Pythonで自作してみた
tatsuki12
4
830
170k Jobs a Day on GKE: Scaling Mercari's CI Platform - and What's Next for AI-Native Development
junyaokabe
0
120
そこに3びきプロダクトがいるじゃろう——生成AI時代における“価値が届かない理由”の構造
kosuket
0
540
AIと壁打ちしながら進めるコスト管理
fufuhu
1
1.1k
進化を続けるGo toolsの現在地 / The Current State of Ever-Evolving Go Tools
hond0413
0
240
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
500
メールのエイリアス機能を履き違えない
isshinfunada
0
250
TSX の <Hoge<Fuga>> という構文に驚いた話 / tsx-type-argument-syntax
kanaru0928
0
240
Hono + Inertia + React で LP を構築した話
oukayuka
2
110
Flow は今どうなっているか
mizdra
PRO
0
660
夏だ!祭りだ!祭りとはドメインモデリングでは?
ryugen04
0
340
楽しそうなつよつよエンジニアと目が死んでる僕/A brilliant engineer having a blast, and dead-eyed me.
3l4l5
2
210
Featured
See All Featured
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.7k
Agile that works and the tools we love
rasmusluckow
331
22k
My Coaching Mixtape
mlcsv
0
250
Odyssey Design
rkendrick25
PRO
2
770
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
210
Fashionably flexible responsive web design (full day workshop)
malarkey
408
67k
How STYLIGHT went responsive
nonsquared
100
6.2k
How Software Deployment tools have changed in the past 20 years
geshan
1
34k
Making Projects Easy
brettharned
120
6.7k
Statistics for Hackers
jakevdp
799
230k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
2.1k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.7k
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!