Skip to content
This repository has been archived by the owner on Feb 19, 2021. It is now read-only.

wonderalexandre/GitHub-Tutorial

 
 

Repository files navigation

GitHub Tutorial

Tutorial para os Alunos da UNINOVE

Setup

Instalação:

  • MacOS: brew install git
  • Linux: sudo apt-get install git
  • Windows: choco install git

Comandos

  • Configuração
    • git config --global user.name "[Nome Sobrenome]"
    • git config --global user.email "[email valido]"
  • Pulls/Forks
    • git clone
    • git pull
  • Commits
    • git add arquivos ou git add .
    • git commit -m "Mensagem do Commit"
  • Pushs
    • git push -u origin main
  • Logs
    • HEAD, HEAD~ e HEAD~{n}
    • git diff
    • git status
    • git log e git log --graph
  • Branches
    • git branch e git branch [nome-do-branch]
    • git checkout [nome-do-branch]
  • Reset
    • git reset --soft versus git reset --hard
  • Pull Requests
    • git push -u origin [nome-do-branch]
  • Merging no Master/Main
  • GitHub Actions

About

Tutorial para os Alunos da UNINOVE

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 30.2%
  • Java 25.4%
  • Go 18.3%
  • JavaScript 8.5%
  • Julia 6.4%
  • Python 5.6%
  • R 5.6%