Top Banner
Mini Curso Git Antonio Armando Couto Bem Filho www.armandocouto.com.br @ArmandoCouto
14

MINI CURSO DE GIT NA UECE – 3º DIA

Aug 10, 2015

Download

Internet

Armando Couto
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: MINI CURSO DE GIT NA UECE – 3º DIA

Mini Curso Git

Antonio Armando Couto Bem Filho www.armandocouto.com.br

@ArmandoCouto

Page 2: MINI CURSO DE GIT NA UECE – 3º DIA

Aprofundando no Git

• Comandos avançados;

• Subindo um projeto no Heroku com o git.

Page 3: MINI CURSO DE GIT NA UECE – 3º DIA

Comandos avançados• git branch -a (Locais e Remotos)

• git push origin novaBranch (Mandar para o GitHub)

• git checkout -b novaBranch origin/novaBranch (Mudando a branch de trabalho)

• git push origin master (Mandando alterações para a branch master)

Page 4: MINI CURSO DE GIT NA UECE – 3º DIA

Comandos avançados• git branch -v (Mostrar o que já tem para o branch

atual)

• git merge origin/master -m “mensagem” (mesclando branches remotas e locais)

• git log --oneline (Resumo dos commits)

• git log -n 2 --oneline --stat (Resumo dos commits que não estão na área stage)

Page 5: MINI CURSO DE GIT NA UECE – 3º DIA

Comandos avançados

• git checkout -b novaBranch (Deletar uma branch)

• git log -n 3 --oneline --decorate --parents (Resumo dos logs de todas as branchs)

• git branch --no-merged (Quando quiser mesclar sem dar o merge)

Page 6: MINI CURSO DE GIT NA UECE – 3º DIA

Gitignore

• https://github.com/github/gitignore

Page 7: MINI CURSO DE GIT NA UECE – 3º DIA

Vamos para o Heroku…

Page 8: MINI CURSO DE GIT NA UECE – 3º DIA

Criando uma conta

Page 9: MINI CURSO DE GIT NA UECE – 3º DIA

Criando um projeto no Heroku

Page 10: MINI CURSO DE GIT NA UECE – 3º DIA

Detalhes do projeto

Page 11: MINI CURSO DE GIT NA UECE – 3º DIA

Sorteio do eBook

Page 12: MINI CURSO DE GIT NA UECE – 3º DIA

Referências

• Git - Guia Prático

• O’Relly / Novatec

• Controlando versões com Git e GitHub

• Casa do código

Page 13: MINI CURSO DE GIT NA UECE – 3º DIA

Perguntas?

Page 14: MINI CURSO DE GIT NA UECE – 3º DIA

Obrigado!!!