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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Gustavo Mathias
July 19, 2015
Programming
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Git e GitHub para iniciantes
Gustavo Mathias
July 19, 2015
More Decks by Gustavo Mathias
See All by Gustavo Mathias
Git e GitHub para iniciantes - JS Funcional
gustavomathias
2
550
Git e GitHub - Trabalhando em projetos Open Source
gustavomathias
0
57
Ambiente de Trabalho
gustavomathias
0
54
Other Decks in Programming
See All in Programming
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
3
1.3k
タクシーアプリ『GO』の バックエンド開発のおける AI利活用と若者のすべて
pyama86
3
2k
Vite+ Unified Toolchain for the Web
naokihaba
0
300
TSKaigi Night Talks 2026_TypeScriptでサプライチェーンの整合性を型に閉じ込める
geekplus_tech
0
350
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
540
生成AI時代にこそ効くGo | Why Go Works in the Age of Generative AI
mom0tomo
8
3.2k
「AIで開発し、AIを届ける」をEvalでつなぐ 〜AIネイティブに始めるプロダクト開発の実践〜 / Connecting "Develop with AI, deliver AI" with Eval
rkaga
4
5.1k
AIだと陥りがちなJakarta EE最新技術への移行時の落とし穴と解決策
tnagao7
0
110
Developing with AI Agents — Codex, Claude Code & Cowork Practical Guide
x5gtrn
PRO
0
1.3k
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
570
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
220
Go1.27で導入されるジェネリクスメソッドでできること
mackee
0
120
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
6k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.6k
Building Applications with DynamoDB
mza
96
7.1k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.2k
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.5k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.7k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2k
Bash Introduction
62gerente
615
220k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
62
44k
The Curious Case for Waylosing
cassininazir
1
390
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