Try   HackMD

Subir projeto no Github pelo Eclipse

Atualizacao de senha

Criar uma conta no GitHub

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
https://github.com

Comandos do GitHub:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
https://gist.github.com/leocomelli/2545add34e4fec21ec16

Para instalar o GitHub pelo terminal do Eclipse:

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Para abrir o terminal:
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Clicar com o botão direito no projeto
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Show in local terminal
Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Terminal

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →


Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Será aberto o terminal, onde digitaremos os comandos.

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →


Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Comando para instalar.

sudo apt install git

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
Configurações globais do Git na máquina. Faça o login e insira a sua senha.

git config --global user.email "seu_email"
git config --global user.name "seu_login"

Criar o repositorio no site do GitHub

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

  1. Anotar o endereço do repositório criado

  2. Abrir o projeto no terminal
    3.1. Clicar no projeto com o botão direito
    3.2. Show in

    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →
    Terminal

  3. Digitar os seguintes comandos:

Comando Descrição
git init Torna a pasta Projeto um repositório
git add . (git espaço ponto) Adicionar arquivos ao repositorio
git add Readme.md Para criar o arquivo Readme.md exatamente como no comando ao lado
git commit -m "Iniciando as transações" Realiza o commit dos arquivos adicionados
git remote add origin https://github.com/seu_login/nome_do_projeto.git Acessa o Repositório
git push -u origin master faz upload do projeto para o repositorio
Digitar seu login
Digitar sua senha

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →
MAS SEEEE atualizou o projeto

git add .
git commit -m "commit de pastas"
git push origin master
  1. Conferir no repositorio se os arquivos subiram
    Image Not Showing Possible Reasons
    • The image file may be corrupted
    • The server hosting the image is unavailable
    • The image path is incorrect
    • The image format is not supported
    Learn More →

Para o versionamento: (exemplo)

1ª versão do projeto (início - 20-07-2020)

  • git init
  • git add .
  • git commit -m "primeira versão"

2ª versão (houve alguma modificação - 21-07-2020)

  • git add .
  • git commit -m "segunda versao"

3ª versão (houve outra modificação - 22-07-2020)

  • git add .
  • git commit -m "segunda versao"

Visualizar os commits do projeto

  • git log

Voltar (Escolher) a versão

  • git checkout xxxx(numero da versao)

Voltar (Escolher) a versão mais atual

  • git checkout master
tags: github