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
Mini-curso de Git
Search
Fabricio Serralvo
September 13, 2016
Programming
0
91
Mini-curso de Git
Keynote usado no Mini-curso de Git, apresentado na 18a Semana Integrada da PUC-Campinas.
Fabricio Serralvo
September 13, 2016
Tweet
Share
More Decks by Fabricio Serralvo
See All by Fabricio Serralvo
Um Pouco Sobre Property Wrappers
serralvo
2
190
Produtividade e Xcode Template
serralvo
0
150
iMessage Apps
serralvo
0
150
Notificações no iOS 10
serralvo
0
110
Other Decks in Programming
See All in Programming
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
640
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
340
AtCoder Conference 2025「LLM時代のAHC」
imjk
2
660
メルカリのリーダビリティチームが取り組む、AI時代のスケーラブルな品質文化
cloverrose
2
470
ゆくKotlin くるRust
exoego
1
200
CSC307 Lecture 02
javiergs
PRO
1
760
Cap'n Webについて
yusukebe
0
170
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
250
Python札幌 LT資料
t3tra
7
1.1k
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
170
The Art of Re-Architecture - Droidcon India 2025
siddroid
0
160
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
5.4k
Featured
See All Featured
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.5k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
150
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
2
300
For a Future-Friendly Web
brad_frost
180
10k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
1
890
Typedesign – Prime Four
hannesfritz
42
2.9k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
270
ラッコキーワード サービス紹介資料
rakko
0
2M
Game over? The fight for quality and originality in the time of robots
wayneb77
1
81
Designing for Performance
lara
610
70k
Statistics for Hackers
jakevdp
799
230k
Transcript
None
Prazer, Fabrício • Desenvolvedor iOS no Instituto Eldorado • Background
web (2012 ~ 2014) • Sistemas de Informação, PUC Campinas
Desenvolvendo Software • Software na faculdade • Software na vida
real • Comparativo
O que é Git? • Criado por Linus Torvalds •
Controle de Versão • Ferramenta chave para desenvolvimento
E quem usa Git? • 69.3% de acordo com o
StackOverflow Survey 2015 • Google, Microsoft, Facebook, Twitter http://stackoverflow.com/research/developer-survey-2015 & https://git-scm.com
E esse tal de Github? • Hospedagem de projetos •
Rede Social • Comunidade Open Source
Comandos Iniciais • Primeira atividade • No Windows: git bash
• Unix like: Terminal
$ git —version
$ sudo apt-get install git
$ git config —global user.name “Nome" $ git config —global
user.email “seu@email“
$ git init
$ git add arquivo.txt
$ git commit -m “Inclusão do arquivo.txt”
$ git log
$ git status
$ git checkout — arquivo
Código Remoto • Segunda atividade • Acesse github.com/join e crie
sua conta • Após a criação da conta: github.com/ new
$ git remote add origin https://github.com/serralvo/minicurso.git
$ git push origin master
Código Remoto • Acesse a página do repositório criado •
Clique no botão “Create new file” • Edite o arquivo e clique no botão “Commit new file”
$ git pull origin master
Branch • O que é • Quando usar • Terceira
atividade
$ git branch correcao
$ git checkout correcao
$ git add arquivo.txt
$ git commit -m “Alteração na branch correcao"
Merge • O que é • Objetivo • Ultima atividade
$ git checkout master
$ git merge correcao
C1 C2 C3 master correcao C4
Para finalizar • Student Pack: education.github.com • Comandos úteis •
Opções gráficas e outros hosts
bit.ly/fb-minicurso
Obrigado! serralvo.co