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
Mini-curso de Git
Search
Fabricio Serralvo
September 13, 2016
Programming
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Mini-curso de Git
Keynote usado no Mini-curso de Git, apresentado na 18a Semana Integrada da PUC-Campinas.
Fabricio Serralvo
September 13, 2016
More Decks by Fabricio Serralvo
See All by Fabricio Serralvo
Um Pouco Sobre Property Wrappers
serralvo
2
210
Produtividade e Xcode Template
serralvo
0
170
iMessage Apps
serralvo
0
170
Notificações no iOS 10
serralvo
0
120
Other Decks in Programming
See All in Programming
更なる可用性を求めて、5年間運用したKotlinのアプリケーションをGoでリプレイスする話
ken_tunc
0
290
新卒PdEのリアル
ryu1013
1
500
{ Android | Kotlin } Gradle Plugin in 2026
ryunen344
1
320
SONY CISC-NEWS NWS-1750 + NWB-225 フレームバッファの NetBSD/news68k ドライバ実装 / OSC2026Hiroshima
tsutsui
0
120
What We Talk About When We Talk About XP
m_seki
2
650
そのリトライ、死んだコネクションを使い回していませんか ── GoのHTTPクライアントとHTTP/2を実プロダクト障害から学び直す
myus4a
0
150
技術的負債を組織課題として解く-増えすぎたマイクロサービスとの戦い-
reimaru
1
2k
Java 27新機能 / Java 27 new features
kishida
2
150
Everything will be SERVERLESS — 信じて運用した10年の経験値 / Everything Will be Serverless — Lessons Learned from 10 Years of Operational Experience
seike460
PRO
1
170
App Intentsのビルドプロセスを支える技術
kntkymt
0
390
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
390
LoopHub - ローカルで動く GitHub で、AI と共同開発
jugyo
1
560
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
528
40k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
440
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
520
What does AI have to do with Human Rights?
axbom
PRO
1
2.4k
Building Adaptive Systems
keathley
44
3.2k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
700
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
50
10k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
460
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
The Cost Of JavaScript in 2023
addyosmani
55
10k
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