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 e GitHub para iniciantes
Search
Gustavo Mathias
July 19, 2015
Programming
1
110
Git e GitHub para iniciantes
Gustavo Mathias
July 19, 2015
Tweet
Share
More Decks by Gustavo Mathias
See All by Gustavo Mathias
Git e GitHub para iniciantes - JS Funcional
gustavomathias
2
530
Git e GitHub - Trabalhando em projetos Open Source
gustavomathias
0
54
Ambiente de Trabalho
gustavomathias
0
48
Other Decks in Programming
See All in Programming
Python札幌 LT資料
t3tra
7
1.1k
愛される翻訳の秘訣
kishikawakatsumi
3
360
開発に寄りそう自動テストの実現
goyoki
2
1.6k
生成AIを利用するだけでなく、投資できる組織へ
pospome
2
430
Giselleで作るAI QAアシスタント 〜 Pull Requestレビューに継続的QAを
codenote
0
320
AtCoder Conference 2025
shindannin
0
830
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
210
大規模Cloud Native環境におけるFalcoの運用
owlinux1000
0
230
[AtCoder Conference 2025] LLMを使った業務AHCの上⼿な解き⽅
terryu16
6
960
SwiftUIで本格音ゲー実装してみた
hypebeans
0
530
クラウドに依存しないS3を使った開発術
simesaba80
0
190
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
5
1.5k
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
0
3.4k
Git: the NoSQL Database
bkeepers
PRO
432
66k
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
1
1.3k
What the history of the web can teach us about the future of AI
inesmontani
PRO
0
380
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
170
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.2k
Art, The Web, and Tiny UX
lynnandtonic
304
21k
Documentation Writing (for coders)
carmenintech
77
5.2k
The agentic SEO stack - context over prompts
schlessera
0
570
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
120
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
What does AI have to do with Human Rights?
axbom
PRO
0
1.9k
Transcript
Git e GitHub para iniciantes
Gustavo Mathias
[email protected]
https://github.com/gustavomathias • Análise e Desenvolvimento de Sistemas
- Fatec Itapetininga • Back-end e Front-end
Índice - Git • Fluxo de trabalho; • Instalação do
Git; • Configurações básicas; • Inicializando um repositório; • Rastreamento, status, commit e logs; • Ignorar arquivos e diretórios; • Diagrama de transição entre diretórios.
Git - fluxo de trabalho #1 - Working Directory, #2
- Index/Stage e #3 - HEAD.
Git - instalação do git Windows: http://msysgit.github.io Mac: http://code.google.com/p/git-osx-installer/downloads Linux:
//baseado em debian sudo apt-get install git //baseado em fedora sudo yum install git
Git - configurações básicas //configuração do nome do usuário git
config --global user.name “NomeUsuario” //configuração do e-mail do usuário git config --global user.email
[email protected]
Git - inicializando um diretório //entrar no diretório do projeto
cd /local/pasta/projeto //inicializando o diretório git initial O git irá criar uma pasta oculta com o nome .git, onde fica o index e o head.
Git - rastreamento, status, commit e logs //rastreamento de arquivos
e diretórios git add . //status git status //commit dos arquivos restreados git commit -m “mensagem” //vendo commits já feitos git log --oneline
Git - ignorar arquivos e diretórios Para ignorar arquivos, diretórios
ou extensões, crie o arquivo .gitignore. O GitHub fornece alguns exemplos de .gitignore. https://github.com/github/gitignore
Git - diagrama de transição entre diretórios
Índice - GitHub • Criando uma conta no GitHub; •
Criando um repositório; • Clonar repositório; • Transição de arquivos.
GitHub - clonar repositório //clonando um repositório git clone https://github.com/nomeusuario/nomerepositorio
Quando você clona um repositório, você não precisa inicializar ele com git init.
GitHub - transição de arquivos //download dos arquivos git pull
origin master //upload dos arquivos git push origin master
Git e GitHub para iniciantes