Git (Sistema Distribuido de Control de Versiones)

731 views

Published on

Git (Sistema Distribuido de Control de Versiones). Presentation by Juan Antonio Plaza

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
731
On SlideShare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Git (Sistema Distribuido de Control de Versiones)

  1. 1. GitSistema Distribuido de Control de Versiones (DVCS)
  2. 2. Centralizado Version Control System
  3. 3. Distributed Version Control System
  4. 4. Basics - Repository
  5. 5. Basics - Branches
  6. 6. Basics - Merge
  7. 7. Configuración# Configure the user which will be used by gitgit config --global user.name "Juan Perez"# Same for the email addressgit config --global user.email "email@gmail.com"
  8. 8. Empecemos# Creamos un directorio para nuestro nuevo proyectomkdir ~/hellogit# Agregamos un archivovim index.html
  9. 9. Primeros Pasos# Initialize the local Git repositorygit init# Add all (files and directories) to the Git repositorygit add .# Make a commit of your file to the local repositorygit commit -m "Initial commit"# Show the log filegit log
  10. 10. El segundo commit# Check the changes via the diff commandgit diff# Commit the changes, -a will commit changes for modified files# but will not add automatically new filesgit commit -a -m "These are new changes"
  11. 11. GUIsGithub git client
  12. 12. Algunos GUIsClientes Mac:•  Gitbox•  Tower •  GihubClientes Windows:•  TortoiseGit•  SmartGit •  Github

×