SlideShare une entreprise Scribd logo
1  sur  23
Télécharger pour lire hors ligne
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# ADRIEN REVEL – AKER @zakxxi
GIT POUR LES NON DÉVELOPPEURS
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# ADRIEN REVEL – AKER @zakxxi
HELLO WORLD!
Adrien Revel
aker.pro
Architecte ++ / AKER
Maître Assistant Associé / ENSAM
GIT
KÉSAKO ?
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://fr.wikipedia.org/wiki/Git
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://openclassrooms.com/courses/gerez-vos-codes-source-avec-git
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://openclassrooms.com/courses/gerez-vos-codes-source-avec-git
LEXIQUE
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# http://www.robusta.io/content/tutoriel/git/start-git.html
• Commit : un commit est un ensemble de modifications apportées et validées. Avec
Git on commit d'abord sur son ordinateur, et non sur un serveur.
• History : Permet de retrouver toutes les modifications apportées au projet. Il est
construit à partir de la liste des commits
• Repository : C'est le lieu contenant les fichiers du projet, avec tout son historique.
Chaque développeur du projet a son Repository local. Il y a aussi un Repository
nommé origin faisant office de serveur.
• Remote : c'est un Repository distant, par opposition à son Repository local
• Rollback : revenir à une version précédente d'un fichier ou d'un projet
• Branch : Une branche permet d'apporter des évolutions en parallèle. Sophie
travaille sur la branche A, Adrien travaille sur la branche B. Sophie ne voit pas le
travail d’Adrien, et vice-versa.
• Merge : Mélanger deux évolutions faites en parallèle. Sophie a travaillé, Adrien a
travaillé. Adrien récupère le travail de Sophie pour le merger dans son travail. Si
ils ont travaillé sur les mêmes fichiers, il y a alors un risque de conflit.
• Push : Envoyer ses commits vers un Repository Remote
• Pull : Récupérer les commits des autres membres de l'équipe depuis le Repository
• SSH : Protocole sécurisé permettant de transmettre des commandes ou des fichiers
INSTALLER GIT
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://try.github.io
APPRENDRE GIT
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://try.github.io
COMMIT
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://try.github.io
PUSH / PULL
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://try.github.io
BRANCHES / MERGE
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# http://nvie.com/posts/a-successful-git-branching-model/
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://try.github.io
GIT
HÉBERGER SON CODE
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://git-scm.com/downloads/guis
GITHUB
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://github.com/
BITBUCKET
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://bitbucket.org/product/features
GITLAB
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://about.gitlab.com/features/
GIT
EN MODE GRAPHIQUE
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://git-scm.com/downloads/guis
GITKRAKEN
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://www.gitkraken.com/
GITHUB DESKTOP
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://desktop.github.com/
SOURCETREE
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://www.sourcetreeapp.com/
👍
ATOM PACKAGES
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://atom.io/
ATOM PACKAGES
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# https://atom.io/
Q&R
MERCI :-)
# DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017
# ADRIEN REVEL – AKER @zakxxi

Contenu connexe

En vedette

Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

En vedette (20)

Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 

GIT pour les non développeurs

  • 1. # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # ADRIEN REVEL – AKER @zakxxi GIT POUR LES NON DÉVELOPPEURS
  • 2. # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # ADRIEN REVEL – AKER @zakxxi HELLO WORLD! Adrien Revel aker.pro Architecte ++ / AKER Maître Assistant Associé / ENSAM
  • 3. GIT KÉSAKO ? # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://fr.wikipedia.org/wiki/Git
  • 4. # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://openclassrooms.com/courses/gerez-vos-codes-source-avec-git
  • 5. # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://openclassrooms.com/courses/gerez-vos-codes-source-avec-git
  • 6. LEXIQUE # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # http://www.robusta.io/content/tutoriel/git/start-git.html • Commit : un commit est un ensemble de modifications apportées et validées. Avec Git on commit d'abord sur son ordinateur, et non sur un serveur. • History : Permet de retrouver toutes les modifications apportées au projet. Il est construit à partir de la liste des commits • Repository : C'est le lieu contenant les fichiers du projet, avec tout son historique. Chaque développeur du projet a son Repository local. Il y a aussi un Repository nommé origin faisant office de serveur. • Remote : c'est un Repository distant, par opposition à son Repository local • Rollback : revenir à une version précédente d'un fichier ou d'un projet • Branch : Une branche permet d'apporter des évolutions en parallèle. Sophie travaille sur la branche A, Adrien travaille sur la branche B. Sophie ne voit pas le travail d’Adrien, et vice-versa. • Merge : Mélanger deux évolutions faites en parallèle. Sophie a travaillé, Adrien a travaillé. Adrien récupère le travail de Sophie pour le merger dans son travail. Si ils ont travaillé sur les mêmes fichiers, il y a alors un risque de conflit. • Push : Envoyer ses commits vers un Repository Remote • Pull : Récupérer les commits des autres membres de l'équipe depuis le Repository • SSH : Protocole sécurisé permettant de transmettre des commandes ou des fichiers
  • 7. INSTALLER GIT # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://try.github.io
  • 8. APPRENDRE GIT # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://try.github.io
  • 9. COMMIT # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://try.github.io
  • 10. PUSH / PULL # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://try.github.io
  • 11. BRANCHES / MERGE # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # http://nvie.com/posts/a-successful-git-branching-model/
  • 12. # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://try.github.io
  • 13. GIT HÉBERGER SON CODE # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://git-scm.com/downloads/guis
  • 14. GITHUB # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://github.com/
  • 15. BITBUCKET # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://bitbucket.org/product/features
  • 16. GITLAB # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://about.gitlab.com/features/
  • 17. GIT EN MODE GRAPHIQUE # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://git-scm.com/downloads/guis
  • 18. GITKRAKEN # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://www.gitkraken.com/
  • 19. GITHUB DESKTOP # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://desktop.github.com/
  • 20. SOURCETREE # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://www.sourcetreeapp.com/ 👍
  • 21. ATOM PACKAGES # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://atom.io/
  • 22. ATOM PACKAGES # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # https://atom.io/
  • 23. Q&R MERCI :-) # DRINK&DRUPAL MONTPELLIER — MERCREDI 14 JUIN 2017 # ADRIEN REVEL – AKER @zakxxi