Lock in $30 Savings on PRO—Offer Ends Soon! ⏳
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
670
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
64
Git
psantos
0
200
Other Decks in Programming
See All in Programming
手軽に積ん読を増やすには?/読みたい本と付き合うには?
o0h
PRO
1
170
AIエージェントを活かすPM術 AI駆動開発の現場から
gyuta
0
360
新卒エンジニアのプルリクエスト with AI駆動
fukunaga2025
0
190
愛される翻訳の秘訣
kishikawakatsumi
1
310
DSPy Meetup Tokyo #1 - はじめてのDSPy
masahiro_nishimi
1
160
ID管理機能開発の裏側 高速にSaaS連携を実現したチームのAI活用編
atzzcokek
0
210
WebRTC と Rust と8K 60fps
tnoho
2
1.9k
ZOZOにおけるAI活用の現在 ~モバイルアプリ開発でのAI活用状況と事例~
zozotech
PRO
8
5.4k
「コードは上から下へ読むのが一番」と思った時に、思い出してほしい話
panda728
PRO
38
25k
TypeScript 5.9 で使えるようになった import defer でパフォーマンス最適化を実現する
bicstone
1
1.2k
AIコーディングエージェント(NotebookLM)
kondai24
0
170
LLMで複雑な検索条件アセットから脱却する!! 生成的検索インタフェースの設計論
po3rin
2
650
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
The Cult of Friendly URLs
andyhume
79
6.7k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
659
61k
Docker and Python
trallard
47
3.7k
How to Ace a Technical Interview
jacobian
280
24k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.4k
Typedesign – Prime Four
hannesfritz
42
2.9k
How GitHub (no longer) Works
holman
316
140k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
390
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.2k
Automating Front-end Workflow
addyosmani
1371
200k
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!