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 - JS Funcional
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Gustavo Mathias
July 23, 2015
Programming
2
530
Git e GitHub para iniciantes - JS Funcional
Apresentação para o curso de JS Funcional.
Gustavo Mathias
July 23, 2015
Tweet
Share
More Decks by Gustavo Mathias
See All by Gustavo Mathias
Git e GitHub para iniciantes
gustavomathias
1
110
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
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
AI巻き込み型コードレビューのススメ
nealle
1
210
2026年 エンジニアリング自己学習法
yumechi
0
130
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
CSC307 Lecture 06
javiergs
PRO
0
680
フロントエンド開発の勘所 -複数事業を経験して見えた判断軸の違い-
heimusu
7
2.8k
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.4k
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
130
AIフル活用時代だからこそ学んでおきたい働き方の心得
shinoyu
0
130
360° Signals in Angular: Signal Forms with SignalStore & Resources @ngLondon 01/2026
manfredsteyer
PRO
0
120
Fluid Templating in TYPO3 14
s2b
0
130
Featured
See All Featured
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
940
Prompt Engineering for Job Search
mfonobong
0
160
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
0
160
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.6k
How to Ace a Technical Interview
jacobian
281
24k
Accessibility Awareness
sabderemane
0
51
Information Architects: The Missing Link in Design Systems
soysaucechin
0
770
Tips & Tricks on How to Get Your First Job In Tech
honzajavorek
0
430
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
Designing Experiences People Love
moore
144
24k
Code Review Best Practice
trishagee
74
20k
Transcript
None
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; • Ramificações; • Mesclagem.
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 “<username>” //configuração do e-mail do usuário git config --global user.email <email>
Git - inicializando um diretório //entrar no diretório do projeto
cd /local/pasta/projeto //inicializando o diretório git init 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
Git - ramificações //adicionando branch git branch <branch> //listar branch
git branch //excluir branch local git branch -D <branch> //excluir branch remoto git push <remote> :<branch> //sincronizar branch com o github git fetch <remote>
Git - ramificações
Git - mesclagem //mesclando branchs git merge <branch>
Índice - GitHub • Criando uma conta no GitHub; •
Criando um repositório; • Clonar repositório; • Transição de arquivos; • Fork; • Pull Request.
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
<remote> <branch> //upload dos arquivos git push <remote> <branch>
Git e GitHub para iniciantes