Git
Sistema Distribuido de Control de
      Versiones (DVCS)
Centralizado Version Control System
Distributed Version Control System
Basics - Repository
Basics - Branches
Basics - Merge
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"
Empecemos


# Creamos un directorio para nuestro nuevo
  proyecto
mkdir ~/hellogit
# Agregamos un archivo
vim index.html
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
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"
GUIs




Github git client
Algunos GUIs
Clientes Mac:

•  Gitbox
•  Tower
 •    Gihub

Clientes Windows:

•  TortoiseGit
•  SmartGit
 •    Github

Git (Sistema Distribuido de Control de Versiones)