8. Configuración
# Configure the user which will be used by git
git config --global user.name "Juan Perez"
# Same for the email address
git config --global user.email "email@gmail.com"
9. Empecemos
# Creamos un directorio para nuestro nuevo
proyecto
mkdir ~/hellogit
# Agregamos un archivo
vim index.html
10. Primeros Pasos
# Initialize the local Git repository
git init
# Add all (files and directories) to the Git
repository
git add .
# Make a commit of your file to the local repository
git commit -m "Initial commit"
# Show the log file
git log
11. El segundo commit
# Check the changes via the diff command
git diff
# Commit the changes, -a will commit changes for
modified files
# but will not add automatically new files
git commit -a -m "These are new changes"