• Like
  • Save
Github
Upcoming SlideShare
Loading in...5
×
 

Github

on

  • 2,037 views

Apresentação sobre github onde se encontram conceitos e comandos básicos.

Apresentação sobre github onde se encontram conceitos e comandos básicos.

Statistics

Views

Total Views
2,037
Views on SlideShare
2,037
Embed Views
0

Actions

Likes
1
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Github Github Presentation Transcript

    • GithubRômulo Machado 42
    • Conteúdo● O que é Git? O que é Github?● “Being Social”● Configurando o Git● Administrando repositórios 42
    • Você sabe pra que serve o github? 42
    • Você sabe pra que serve o github?Vamo ver a palestraque nóis descobre, abestado! 42
    • 42
    • 42
    • 42
    • “Being Social”● Siga seus amigos 42
    • “Being Social”● Acompanhe o desenvolvimento de projetos 42
    • “Being Social”● Contribua com o desenvolvimento de projetos 42
    • “Being Social”● Junte os amigos e codifique junto 42
    • Configurando o Git● Baixar e Instalar o Git $ sudo apt-get install git-core 42
    • Configurando o Git● Gerando chave RSA [1]$ cd ~/.ssh$ lsid_rsa id_rsa.pub know_hosts$ mkdir key_backup$ cp id_rsa* key_backup$ rm id_rsa 42
    • Configurando o Git● Gerando chave RSA [2]$ ssh-keygen -t rsa seu@email.comGenerating public/private rsa key pair.Enter file in which to save the key(~/.ssh/id_rsa): <aperte enter>Enter passphrase: <aperte enter>Enter same passphrase again: <aperte enter> 42
    • Configurando o Git● Adicionando chave RSA ao seu Github [1]~/.ssh $ cat id_rsa.pubssh-rsa <MINHA CHAVE>romulo.machado5@gmail.com 42
    • Configurando o Git● Adicionando chave RSA ao seu Github [2] No github, vá em Account Settings > SSH Public Keys > Add another public key 42
    • Configurando o Git● Testando se está tudo ok! [1]$ ssh git@github.comThe authenticity of host github.com(207.97.227.239) cant be established.RSA key fingerprint is …Are you sure you want to continueconnecting (yes/no)? <digite yes> 42
    • Configurando o Git● Testando se está tudo ok! [2]PTY allocation request failed on channel 0Hi username! You sucessfully authenticated,but Github does not provide shell access.Connection to github.com closed. 42
    • Funcionou, companheiro! Issaê! 42
    • Configurando o Git● Configurando usuário$ git config --global user.name “Seu Nome”$ git config --global user.email “seu@email” 42
    • Administrando repositórios● Criando um repositório 42
    • Administrando repositórios 42
    • Difícil, né, gente?! 42
    • Adicionando código$ mkdir ~/Hello-World$ cd ~/Hello-World$ git initInitialized empty Git repository in ~/Hello-World/.git/$ touch README 42
    • git status 42
    • $ git status# On branch master# Initial commit# Untracked files:# (use “git add <file> … “ to include what will be commited)## READMEnothing added to commit but untracked files present 42
    • git add 42
    • $ git add READMEPasta de trabalho “Staging” git add 42
    • git commit 42
    • $ git commit README -m “first commit” “Staging” Repositório Local git commit 42
    • git remote 42
    • $ git remote add origingit@github.com:username/Hello-World.git 42
    • git push 42
    • $ git push origin master RepositórioRepositório Local Remoto git push 42
    • 42
    • Pasta de trabalho “Staging” git add git commit Repositório Repositório Local Remoto git push 42
    • Conseguindo ajudahttp://google.com/http://help.github.com/http://book.git-scm.com/http://nathanj.github.com/gitguide/ 42
    • Dúvidas? 42
    • Obrigado! 42
    • Contatohttp://romulomachado.posterous.com/ http://github.com/romulomachado @romulomachado_ rcorreamachado@gmail.com Esta palestra estará disponível em: http://slideshare.net/romulomachado 42
    • Imagens e Referênciashttp://bloggarcia.files.wordpress.com/2010/08/tiririca.jpghttp://www.quites.com.br/wp-content/uploads/2010/12/500px-Git-logo_svg.pnghttp://blog.upverter.com/wp-content/uploads/2011/03/github_logo.pnghttp://help.github.com/images/bootcamp/bootcamp_4_follow.jpghttp://help.github.com/images/bootcamp/bootcamp_4_watch.jpghttp://help.github.com/images/bootcamp/bootcamp_4_pull_requests.jpghttp://help.github.com/images/bootcamp/bootcamp_4_org.jpghttp://help.github.com/images/bootcamp/bootcamp_1_ssh.jpghttp://blogdofavre.ig.com.br/wp-content/uploads/2009/11/Lula_positivo.jpghttp://help.github.com/images/bootcamp/bootcamp_2_newrepo.jpghttp://help.github.com/images/bootcamp/bootcamp_2_repoinfo.jpghttp://g1.globo.com/VCnoG1/foto/0,,18316871-EX,00.jpghttp://help.github.com/images/bootcamp/bootcamp_2_updatedreadme.jpghttp://www.cs.bris.ac.uk/admissions/schools/Seminars/Images/C3PO.jpghttp://farm4.static.flickr.com/3073/2522402972_df135592e9_o_d.jpghttp://help.github.com/ 42