1
resposta

Todos os códigos passados no curso de git-github

cd "diretorio"
ls
git init
git init --bare
git add "item"
git add .
git add .gitignore
git commit -m "mensagem"
git config --local user.name "Seu nome aqui"
git config --local user.email "seu@email.aqui"
git config -- global
https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration
git remote
git remote -v
git remote add local "diretorio"
git remote add origin 'url'
git push origin main
git push local (versao tag)
git push origin (versao tag)
git branch 
git branch "nome da branch"
git checkout
git checkout -- "nome arquivo"
git checkout "nome da branch"
git checkout -b "criando branch"
git remote rename origin "nome novo"
git clone 'diretorio alvo'
git push origin master
git push local master
git pull local master
mkdir
git merge ( logado na master - escolhe a branch)
git status
git log variações \/
https://devhints.io/git-log
git log
git log -oneline
git log -graph
git log -p 
git stash
git stash list 
git stash apply (numero do stash)
git stash drop(remover)
git stash pop
git rebase (logado na master - alinha com a branch desejada)
git reset HEAD 'item'
git revert 'hash'
git restore (item)
git diff
git diff hash..hash (comparativo)
git tag
git tag -a ( nome v0.1.0) (-m 'mensagem')
1 resposta

Oi, Jônatas. Beleza?

Obrigado e parabéns por ter compartilhado a listagem dos comandos.

Bons estudos!

Quer mergulhar em tecnologia e aprendizagem?

Receba a newsletter que o nosso CEO escreve pessoalmente, com insights do mercado de trabalho, ciência e desenvolvimento de software