Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Git
Search
GDG Aracaju
March 07, 2015
Programming
88
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
180
Firebase e Android
gdgaracaju
0
110
Aplicações em Asp.NET WebAPI 2.2 e AngularJS
gdgaracaju
2
130
Android + Chromecast
gdgaracaju
1
77
Introdução ao Android Wear
gdgaracaju
0
52
Backend para aplicativos mobile
gdgaracaju
0
47
Segurança no Android
gdgaracaju
0
51
Android Fundamentals Lesson 3 review
gdgaracaju
0
56
Suporte múltiplas telas no Android
gdgaracaju
0
160
Other Decks in Programming
See All in Programming
Security issues being discussed on Web Platforms
petamoriken
0
1.2k
WebMCP Challenge に星空観察アプリで参加した話
okajun35
0
190
Snowflakeで業務アプリを作ろう。 Snowflakeのアプリ機能解説&実践ガイド
ayumu_yamaguchi
2
300
スマートフォンでモールス信号を送受信する 〜スマートフォンのLEDとカメラで作る光通信の設計と実装〜
atsuki_seo
0
170
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
200
setup-vp GitLab対応の裏側
naokihaba
0
120
Jetpack Compose メカニズム
skydoves
0
460
新卒PdEのリアル
ryu1013
1
510
世界の中心で、AI(App Intents)をさけぶ ー App Intents中心設計の実践ガイド
touyou
0
650
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
160
Augmenting AI with the Power of Jakarta EE
ivargrimstad
0
280
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
270
Featured
See All Featured
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
HDC tutorial
michielstock
2
880
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
700
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
SEO for Brand Visibility & Recognition
aleyda
0
4.7k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.2k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
580
Exploring anti-patterns in Rails
aemeredith
4
510
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Being A Developer After 40
akosma
91
590k
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!