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 (Meet.US())
Search
Patrício dos Santos
September 13, 2014
Programming
2
680
Git (Meet.US())
Apresentação usada no evento Meet.Us() - 13 de Setembro de 2014
Patrício dos Santos
September 13, 2014
Tweet
Share
More Decks by Patrício dos Santos
See All by Patrício dos Santos
Docker for Rubyists
psantos
1
37
Instalação do CentOS 7.0
psantos
0
33
Passos para a criação de um protótipo funcional
psantos
0
65
Git
psantos
0
200
Other Decks in Programming
See All in Programming
AI Agent Dojo #4: watsonx Orchestrate ADK体験
oniak3ibm
PRO
0
110
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
430
実は歴史的なアップデートだと思う AWS Interconnect - multicloud
maroon1st
0
270
The Art of Re-Architecture - Droidcon India 2025
siddroid
0
150
GoLab2025 Recap
kuro_kurorrr
0
780
ゲームの物理 剛体編
fadis
0
380
認証・認可の基本を学ぼう後編
kouyuume
0
250
Pythonではじめるオープンデータ分析〜書籍の紹介と書籍で紹介しきれなかった事例の紹介〜
welliving
3
660
ELYZA_Findy AI Engineering Summit登壇資料_AIコーディング時代に「ちゃんと」やること_toB LLMプロダクト開発舞台裏_20251216
elyza
2
720
perlをWebAssembly上で動かすと何が嬉しいの??? / Where does Perl-on-Wasm actually make sense?
mackee
0
230
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
550
Implementation Patterns
denyspoltorak
0
140
Featured
See All Featured
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
54
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
HDC tutorial
michielstock
1
280
[SF Ruby Conf 2025] Rails X
palkan
0
650
Navigating Weather and Climate Data
rabernat
0
56
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
97
Building the Perfect Custom Keyboard
takai
1
660
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
115
95k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.3k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
0
300
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.5k
Balancing Empowerment & Direction
lara
5
830
Transcript
A ferramenta indispensável na bagagem do programador
Quem Sou Eu? Patrício dos Santos Desenvolvedor – ITELnet –
Comunicações & Serviços, S.A. PHP (CakePHP), C# (Entity Framework), Ruby (Ruby on Rails) Android (Java) Git Entre outras... http://www.patriciodossantos.net https://github.com/PSantos10/
[email protected]
Comunidade AngoDev • Portal • Fórum • eLearning • Portal
de Empregos • Organização de Eventos • Apoiar os Programadores Angolanos http://www.angodev.com
Git – O que é? • Sistema de controle de
versão distribuído; • Sistema de Gestão de Código Fonte; • Rápido e Eficiente; • Escrito pelo Linus Torvalds • Inicialmente escrito para o desenvolvimento do Kernel Linux.
Principais vantagens • Controlo do Histórico • Trabalho em Equipa
• Produtividade • Branchs privadas • Segurança (Backup)
1. – Instalação e Configuração • Windows • http://git-scm.com/download/win •
Linux • http://git-scm.com/download/linux • sudo apt-get install git • Mac • http://git-scm.com/download/mac • brew install git
1.1. Instalação no Windows
1.2. Configurações Iniciais
We are Ready to Start!
2.1. Criando novo repositório git init
2.2. Copiar um repositório git clone c:\repositório_a git clone
[email protected]
:PSantos10/minha_pagina.git
Let’s do It!
3. Fluxo de trabalho • Working Directory • Index •
HEAD (Repository)
4. Adicionar ficheiro ao repositório git add index.php git add
* git commit –m “adicionando ficheiro index.php”
5. Git Status git status
6. .gitignore Exemplos: https://github.com/github/gitignore Gerador: http://gitignore.io/
Let’s do It!
7. Branchs git branch nome_branch git checkout nome_branch git checkout
–b nome_branch
Let’s do It!
8. Merging Git merge nome_branch git branch –d nome_branch git
branch –D nome_branch
Let’s do It!
9. Repositório Remoto
10. Criando conta no GitHub
10.1. Adicionar Repositório Remoto git remote add origin
[email protected]
:PSantos10/ minha_pagina.git
10.2. Enviando alterações para o rep. remoto git push origin
master
10.3. Actualizando o repositório local git pull origin master git
fetch origin master
Let’s do It!
11. Outros comandos git log git tag 1.0.0 1b2e1d63ff
12. Ferramentas Gráficas
Links Úteis • http://www.angodev.com (Portal / Fórum) • http://gitimmersion.com • http://www.codeschool.com/ • http://www.alura.com.br • http://webvisao.github.com
None
FIM Obrigado!