Escolar Documentos
Profissional Documentos
Cultura Documentos
O Ciclo Básico Do Git
O Ciclo Básico Do Git
br/course/git/section/2/explanation
mkdir curso-git
cd curso-git
git init
index.html
<html>
<head>
</head>
<body>
</body>
</html>
git ls-files
git status
1 de 5 16/05/2016 21:22
O ciclo básico do Git | alura https://cursos.alura.com.br/course/git/section/2/explanation
git status
# On branch master
#
# Initial commit
#
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# index.html
git add
git status
# On branch master
#
# Initial commit
#
# Changes to be committed:
# (use "git rm --cached <file>..." to unstage)
#
# new file: index.html
#
git blame
2 de 5 16/05/2016 21:22
O ciclo básico do Git | alura https://cursos.alura.com.br/course/git/section/2/explanation
git status
# On branch master
nothing to commit (working directory clean)
<html>
<head>
</head>
<body>
<h1>Git</h1>
<h2>Trabalhando em Equipe com Controle e Segurança</h2>
<p>Um curso que explora os benefícios de utilizar o Git como ferramenta de controle
<h3>Principais benefícios:</h3>
<ul>
<li>Funciona de maneira distribuída</li>
<li>Permite a edição concorrente de arquivos do projeto</li>
<li>Não depende de uma conexão ativa com um servidor</li>
</ul>
</body>
</html>
3 de 5 16/05/2016 21:22
O ciclo básico do Git | alura https://cursos.alura.com.br/course/git/section/2/explanation
</body>
</html>
git status
# On branch master
# Changes not staged for commit:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: index.html
#
no changes added to commit (use "git add" and/or "git commit -a")
git add
# On branch master
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: index.html
#
4 de 5 16/05/2016 21:22
O ciclo básico do Git | alura https://cursos.alura.com.br/course/git/section/2/explanation
5 de 5 16/05/2016 21:22