Este documento proporciona una introducción a los comandos básicos de Git como iniciar un repositorio (git init), clonar un repositorio existente (git clone), obtener cambios (git pull), realizar commits de cambios locales (git commit), compartir commits locales (git push), revisar el historial de commits (git log), ver diferencias en cambios (git diff), y obtener un resumen del estado del repositorio (git status). Explica cómo realizar un rebase interactivo (git rebase -i) y rebasear una rama de tema en otra rama principal (git rebase
Presentation Deck from ASAE MMC Conference June 14,2016 Based on two case studies that showcase the power of analyzing event data to enhance event marketing, this session will dissect how key metrics, best practices and essential tools can be leveraged for event success. Understand how to use event data to drive better-targeted marketing and bring in the most desirable attendees to your programs.
Insights on Supply Chain Talent - slide deck from webinar - 25 FEB 2016Lora Cecere
Insights on Supply Chain Talent
There is a shortage of talent in supply chain. The industry continues to grow; however, senior leaders are on the brink of retirement and millennials are racing to gain the skills and knowledge to assume greater responsibility. There is a large gap between supply and demand in the middle level of supply chain professionals. In this panel webinar we’ll review suggestions for companies looking to retain and groom talent, as well as individuals looking for their next challenge. Join us to gain more insight into the future of talent and the role you’ll take to close the gap.
Presentation Deck from ASAE MMC Conference June 14,2016 Based on two case studies that showcase the power of analyzing event data to enhance event marketing, this session will dissect how key metrics, best practices and essential tools can be leveraged for event success. Understand how to use event data to drive better-targeted marketing and bring in the most desirable attendees to your programs.
Insights on Supply Chain Talent - slide deck from webinar - 25 FEB 2016Lora Cecere
Insights on Supply Chain Talent
There is a shortage of talent in supply chain. The industry continues to grow; however, senior leaders are on the brink of retirement and millennials are racing to gain the skills and knowledge to assume greater responsibility. There is a large gap between supply and demand in the middle level of supply chain professionals. In this panel webinar we’ll review suggestions for companies looking to retain and groom talent, as well as individuals looking for their next challenge. Join us to gain more insight into the future of talent and the role you’ll take to close the gap.
Taller Git que impartimos Francisco Gortázar (@fgortazar) y Micael Gallego (@micael_gallego) en la Escuela Técnica Superior de Ingeniería Informática de la URJC.
Taller Git que impartimos Francisco Gortázar (@fgortazar) y Micael Gallego (@micael_gallego) en la Escuela Técnica Superior de Ingeniería Informática de la URJC.
1. Comandos Básicos
Iniciar un repo
cd ˜/repodir
git init
Clonar un repo
git clone
https://github.com/user/repo.git
Obtener cambios
git tf pull --rebase
O si no te gusta el rebase
git tf pull
git merge
Perpetuar los cambios
git commit [-m "mensaje"]
Compartir commits locales
git push
Rebase interactivo
git rebase -i
Rebase topic en branch
git checkout topic
git rebase master
O más breve:
git rebase master topic
Trabajar con el Index
Agregar archivo al index
git add file
O mejor aún
git add -i
Descartar cambios del index
git reset HEAD file
Descartar cambios locales
git checkout file
Log
Ver el log
git log
Modificadores
--pretty=oneline
--pretty=short
--pretty=full
--pretty=fuller
Limitar a 10 commits
git log -10
Se puede combinar con --pretty
Diffs y status
Ver cambios locales
git diff
Ver cambios en el index
git diff --cached
Modificaciones en el último commit
git diff HEADˆ!
En el penúltimo commit
git diff HEAD˜ˆ!
Diferencias entre dos commits
git diff HEAD˜3..HEAD
Modificadores de diff
--name-status
--name-only
Se puede combinar con rangos y con ˆ˜
Resumen de modificaciones e index
git status
git status --short
git status --porcelain