Skip to content

Instantly share code, notes, and snippets.

@everaldo
Created February 21, 2017 13:29
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save everaldo/ec04f0c282f7b65734a5586bd730267f to your computer and use it in GitHub Desktop.
Save everaldo/ec04f0c282f7b65734a5586bd730267f to your computer and use it in GitHub Desktop.
git init . # cria um repositório
git remote origin https://github.com/usuario/projeto.git
# adiciona remote
# crie projeto no github antes
git add . # adiciona todos os arquivos
git commit -m 'mensagem' # faz o commit
git checkout -b gh-pages # cria branch gh-pages
git push origin gh-pages # envia para o github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment