- Git foi feito pelo Linus Torvalds. O cara que criou o Linux.
- GitHub, GitLab.
- Como funciona?
- Vá em github.com e crie um repo
- Crie uma pasta com o mesmo nome no seu $GOPATH
- $GOPATH/src/github.com/[username]/[repo]
- Rode “git init” nesta pasta
- Adicione arquivos, e.g. README.md e .gitignore
- git add -A
- git commit -m “here’s some commit message”
- git remote add origin [email protected]:username/repo.git
- git push -u origin master
- Comandos:
- git status
- git add --all
- git commit -m "mensagem"
- git push
Continue this lesson in the app
Install CourseHive on Android or iOS to keep learning while you move.