Git pronunciado [git] é um sistema de controle de versão distribuído e um sistema de gerenciamento de
código fonte, com ênfase em velocidade. O Git foi inicialmente projetado e desenvolvido por Linus Torvalds
para o desenvolvimento do kernel Linux, mas foi adotado por muitos outros projetos. Cada diretório de
trabalho do Git é um repositório com um histórico completo e habilidade total de acompanhamento das
revisões, não dependente de acesso a uma rede ou a um servidor central. O Git é um software livre,
distribuído sob os termos da versão 2 da GNU General Public License. Sua manutenção é atualmente
supervisionada por Junio Hamano.
Neste site possui até um livro chamado Git Pro disponível para download.
https://github.com/git-for-windows/git/releases/download/v2.11.0.windows.1/Git-2.11.0-64-bit.exe
Github
GitHub é um Serviço de Web Hosting Compartilhado para projetos que usam o controle de versionamento
Git. É escrito em Ruby on Rails pelos desenvolvedores da Logical Awesome (Chris Wanstrath, PJ Hyett e
Tom Preston - Wernder). O GitHub possui planos comerciais e gratuitos para projetos de código aberto. O
Github, é na verdade uma rede social ou uma fábrica social de software, que desenvolve e promove
milhares de códigos fontes pré armazenados, para as mais diversas finalidades. Este site possui
funcionalidades de uma rede social como feeds, followers, wiki e um gráfico que mostra como os
desenvolvedores trabalham as versões de seus repositórios.
Configurando o
Git
Essencial do
Git
Repositórios Remotos
Ramificação (Branch)
Git Errors and Warnings
Should not be doing an octopus
Octopus is a strategy Git uses to combine many different versions of code together. This message
can appear if you try to use this strategy in an inappropriate situation.
You are in 'detached HEAD' state
HEAD is what Git calls the commit you are currently on. You can “detach” the HEAD by switching to a
previous commit, which we’ll see in the next video. Despite what it sounds like, it’s actually not a bad
thing to detach the HEAD. Git just warns you so that you’ll realize you’re doing it.
Panic! (the 'impossible' happened)
This is a real error message, but it’s not output by Git. Instead it’s output by GHC, the compiler for a
programming language called Haskell. It’s reserved for particularly surprising errors!
Takeaway
We hope these errors and warnings amused you as much as they amused us! Now that you know
what kind of errors Git can throw, you’re ready to start checking out previous versions of files with
Caroline.