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
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Patrício dos Santos
October 04, 2013
Programming
0
210
Git
Git presentation
Patrício dos Santos
October 04, 2013
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
66
Git (Meet.US())
psantos
2
680
Other Decks in Programming
See All in Programming
プロダクトオーナーから見たSOC2 _SOC2ゆるミートアップ#2
kekekenta
0
200
LLM Observabilityによる 対話型音声AIアプリケーションの安定運用
gekko0114
2
420
高速開発のためのコード整理術
sutetotanuki
1
390
CSC307 Lecture 02
javiergs
PRO
1
770
Fragmented Architectures
denyspoltorak
0
150
CSC307 Lecture 03
javiergs
PRO
1
490
フルサイクルエンジニアリングをAI Agentで全自動化したい 〜構想と現在地〜
kamina_zzz
0
400
Patterns of Patterns
denyspoltorak
0
1.4k
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
640
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
170
AI & Enginnering
codelynx
0
110
MUSUBIXとは
nahisaho
0
130
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
100
How GitHub (no longer) Works
holman
316
140k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
54k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
97
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Prompt Engineering for Job Search
mfonobong
0
160
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
91
Facilitating Awesome Meetings
lara
57
6.7k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
Optimising Largest Contentful Paint
csswizardry
37
3.6k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Transcript
A ferramenta indispensável na bagagem do programador
Quem Sou Eu? Patrício dos Santos Desenvolvedor Web: PHP, Ruby
on Rails Desktop: C# Entre outros… http://www.patriciodossantos.net https://github.com/PSantos10/
[email protected]
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.
1. – Instalação e Configuração • Windows • http://git-scm.com/download/win •
Linux • http://git-scm.com/download/linux • Mac • http://git-scm.com/download/mac
1.1. Instalação no Windows
1.2. Configurações Iniciais
We are Ready to Start!
2.1. Criando novo repositório git init git init
2.2. Copiar um repositório git clone c:\repositório_a git clone c:\repositório_a
git clone
[email protected]
:PSantos10/minha_pagina.git 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
index.php git add * git add * git commit –m “adicionando ficheiro index.php” git commit –m “adicionando ficheiro index.php”
5. Git Status git status git status
6. .gitignore Exemplos: https://github.com/github/gitignore Gerador: http://gitignore.io/
Let’s do It!
7. Repositório Remoto
7.1. Adicionar Repositório Remoto git remote add origin
[email protected]
:PSantos10/minha_pagina.git git
remote add origin
[email protected]
:PSantos10/minha_pagina.git
7.2. Enviando alterações para o rep. remoto git push origin
master git push origin master
7.3. Actualizando o repositório local git pull git pull
Let’s do It!
8. Outros comandos git merge <branch> git merge <branch> git
checkout –b <new_branch> git log git log git checkout <new_branch> git checkout <new_branch> git tag 1.0.0 1b2e1d63ff git tag 1.0.0 1b2e1d63ff
Let’s do It!
9. Ferramentas Gráficas
None
FIM Obrigado!