SlideShare uma empresa Scribd logo
1 de 29
Sten Govaerts
  KU Leuven
what the hell...
• distributed version control
what the hell...
• distributed version control
• originally designed and developed by Linus
  Thorvalds.
what the hell...
• distributed version control
• originally designed and developed by Linus
   Thorvalds.
• git (plural gits) (noun)
  •   (UK, slang, pejorative) A contemptible person.
  •   (UK, slang, pejorative) A silly, incompetent,
      stupid, annoying or childish person.
distributed?
  centralised       distributed
version control   version control



                                              GIT




 SVN or CVS
                  http://www.slideshare.net/lydian/git-tutorial
but why?...

• easier offline usage
but why?...

• easier offline usage
• easier to branch projects
but why?...

• easier offline usage
• easier to branch projects
• git is good at merging files and re-joining
  branches
git philosophy

• Commit early, commit often!
• 1 commit = 1 idea or change
 • easy to read patches by team members
 • easy to revert changes later
• local repo is your working directory
why do we need this?

• group work
 • help each other
• work on multiple locations
• common back-end development?
• learning analytics
how does it work?
             file states
              • modified
              • staged
              • commited
how does it work?
how does it work?
         dev B




         shared
          repo



 dev A            dev C
how does it work?
         dev B


                  git clone
         shared
          repo



 dev A                dev C
how does it work?
            dev B




            shared
git push     repo



    dev A            dev C
how does it work?
            dev B




            shared
git push     repo



    dev A            dev C
how does it work?
            dev B




            shared
git push     repo    git push

    dev A            dev C
how does it work?
            dev B




            shared
git push     repo    git push

    dev A            dev C
how does it work?
            dev B




            shared
git push     repo



    dev A            dev C
how does it work?
            dev B




            shared    git fetch
git push     repo
                     git merge

    dev A             dev C
• http://www.github.com
• make an account (use twitter name) and
  one repository per group
• put repository link on wiki
 • http://ariadne.cs.kuleuven.be/wiki
what do you do next?
• student A makes the github repository
what do you do next?
• student A makes the github repository
• student A commits his work to his local
  repository and pushes to github
what do you do next?
• student A makes the github repository
• student A commits his work to his local
  repository and pushes to github
• student B fetches the repository, commits
  his work locally and pushes to github
what do you do next?
• student A makes the github repository
• student A commits his work to his local
  repository and pushes to github
• student B fetches the repository, commits
  his work locally and pushes to github
• student C fetches the repository, commits
  his work locally and pushes to github
how to do this?
• command line (4 1337 h4x0rz)
• IDE tools
 •   eclipse (http://www.vogella.com/articles/EGit/article.html)
 •   xcode (http://support.beanstalkapp.com/customer/portal/
     articles/95580-setting-up-git-with-xcode-4 & http://
     developer.apple.com/library/mac/#recipes/xcode_help-
     repositories_organizer/articles/
     CommittingFilestoaRepository.html#//apple_ref/doc/uid/
     TP40010350-CH8-SW1)
tools

• http://eclipse.github.com/
• http://windows.github.com/
• http://mac.github.com/
git commands cheat
         sheet

• http://www.git-tower.com/files/cheatsheet/
  Git_Cheat_Sheet_grey.pdf
further reading...
•   Setup github

•   Create a repo on github

•   Fork a repo

•   Everyday GIT with 20 commands or so

•   Advanced GIT tutorial

•   GITcasts

•   Git docs

Mais conteúdo relacionado

Mais procurados

Helios in Action: Git at Eclipse
Helios in Action: Git at EclipseHelios in Action: Git at Eclipse
Helios in Action: Git at EclipseChris Aniszczyk
 
iThome Chatbot Day: 透過 Golang 無痛建置機器學習聊天機器人
iThome Chatbot Day: 透過 Golang 無痛建置機器學習聊天機器人iThome Chatbot Day: 透過 Golang 無痛建置機器學習聊天機器人
iThome Chatbot Day: 透過 Golang 無痛建置機器學習聊天機器人Evan Lin
 
Learning GitHub Part 3
Learning GitHub Part 3Learning GitHub Part 3
Learning GitHub Part 3Lynn Langit
 
Learning GitHub Part 1
Learning GitHub Part 1Learning GitHub Part 1
Learning GitHub Part 1Lynn Langit
 
How I become Go GDE
How I become Go GDEHow I become Go GDE
How I become Go GDEEvan Lin
 
Learning GitHub Part 2
Learning GitHub Part 2Learning GitHub Part 2
Learning GitHub Part 2Lynn Langit
 
Introduction to Git and Github
Introduction to Git and GithubIntroduction to Git and Github
Introduction to Git and GithubHouari ZEGAI
 
Starting with Git & GitHub
Starting with Git & GitHubStarting with Git & GitHub
Starting with Git & GitHubNicolás Tourné
 
Learning GitHub Part 4
Learning GitHub Part 4Learning GitHub Part 4
Learning GitHub Part 4Lynn Langit
 
Git workflows (Basics)
Git workflows (Basics)Git workflows (Basics)
Git workflows (Basics)Roman Kuba
 
Introducing Github and Octocats by Tony Bangratz
Introducing Github and Octocats by Tony BangratzIntroducing Github and Octocats by Tony Bangratz
Introducing Github and Octocats by Tony BangratzRailsGirls_RTM
 
Boston Ruby Group - Devops Pipeline
Boston Ruby Group - Devops Pipeline Boston Ruby Group - Devops Pipeline
Boston Ruby Group - Devops Pipeline Michael Durrant
 
OSGi Versioning & Testing
OSGi Versioning & TestingOSGi Versioning & Testing
OSGi Versioning & TestingChris Aniszczyk
 
The Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHubThe Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHubBigBlueHat
 

Mais procurados (20)

Helios in Action: Git at Eclipse
Helios in Action: Git at EclipseHelios in Action: Git at Eclipse
Helios in Action: Git at Eclipse
 
iThome Chatbot Day: 透過 Golang 無痛建置機器學習聊天機器人
iThome Chatbot Day: 透過 Golang 無痛建置機器學習聊天機器人iThome Chatbot Day: 透過 Golang 無痛建置機器學習聊天機器人
iThome Chatbot Day: 透過 Golang 無痛建置機器學習聊天機器人
 
Learning GitHub Part 3
Learning GitHub Part 3Learning GitHub Part 3
Learning GitHub Part 3
 
Learning GitHub Part 1
Learning GitHub Part 1Learning GitHub Part 1
Learning GitHub Part 1
 
Git training with Devaamo
Git training with DevaamoGit training with Devaamo
Git training with Devaamo
 
git and github
git and githubgit and github
git and github
 
How I become Go GDE
How I become Go GDEHow I become Go GDE
How I become Go GDE
 
Introduction to Git
Introduction to GitIntroduction to Git
Introduction to Git
 
Learning GitHub Part 2
Learning GitHub Part 2Learning GitHub Part 2
Learning GitHub Part 2
 
Git in Eclipse
Git in EclipseGit in Eclipse
Git in Eclipse
 
Introduction to Git and Github
Introduction to Git and GithubIntroduction to Git and Github
Introduction to Git and Github
 
Starting with Git & GitHub
Starting with Git & GitHubStarting with Git & GitHub
Starting with Git & GitHub
 
Learning GitHub Part 4
Learning GitHub Part 4Learning GitHub Part 4
Learning GitHub Part 4
 
Git'in on Windows
Git'in on WindowsGit'in on Windows
Git'in on Windows
 
Git workflows (Basics)
Git workflows (Basics)Git workflows (Basics)
Git workflows (Basics)
 
Introducing Github and Octocats by Tony Bangratz
Introducing Github and Octocats by Tony BangratzIntroducing Github and Octocats by Tony Bangratz
Introducing Github and Octocats by Tony Bangratz
 
Mini git tutorial
Mini git tutorialMini git tutorial
Mini git tutorial
 
Boston Ruby Group - Devops Pipeline
Boston Ruby Group - Devops Pipeline Boston Ruby Group - Devops Pipeline
Boston Ruby Group - Devops Pipeline
 
OSGi Versioning & Testing
OSGi Versioning & TestingOSGi Versioning & Testing
OSGi Versioning & Testing
 
The Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHubThe Basics of Open Source Collaboration With Git and GitHub
The Basics of Open Source Collaboration With Git and GitHub
 

Destaque

From Findability to Awareness: Metadata in Music and Technology Enhanced Lear...
From Findability to Awareness: Metadata in Music and Technology Enhanced Lear...From Findability to Awareness: Metadata in Music and Technology Enhanced Lear...
From Findability to Awareness: Metadata in Music and Technology Enhanced Lear...Sten Govaerts
 
A Federated Search and Social Recommendation Widget
A Federated Search and Social Recommendation WidgetA Federated Search and Social Recommendation Widget
A Federated Search and Social Recommendation WidgetSten Govaerts
 
Gebruikersdag n@tschool 2015 datagedreven onderwijs
Gebruikersdag n@tschool 2015 datagedreven onderwijsGebruikersdag n@tschool 2015 datagedreven onderwijs
Gebruikersdag n@tschool 2015 datagedreven onderwijsWilfredRubens.com
 
Quantified Self in the Multimedia course.
Quantified Self in the Multimedia course.Quantified Self in the Multimedia course.
Quantified Self in the Multimedia course.Sten Govaerts
 
Learning Dashboards & Learnscapes
Learning Dashboards & LearnscapesLearning Dashboards & Learnscapes
Learning Dashboards & LearnscapesSten Govaerts
 
The Go-Lab project at the REACT Research Days
The Go-Lab project at the REACT Research DaysThe Go-Lab project at the REACT Research Days
The Go-Lab project at the REACT Research DaysSten Govaerts
 
Speakup - in NordiCHI2014 Personal or Social workshop.
Speakup - in NordiCHI2014 Personal or Social workshop.Speakup - in NordiCHI2014 Personal or Social workshop.
Speakup - in NordiCHI2014 Personal or Social workshop.Sten Govaerts
 
The Smart Device Specification for Remote Labs
The Smart Device Specification for Remote LabsThe Smart Device Specification for Remote Labs
The Smart Device Specification for Remote LabsSten Govaerts
 

Destaque (9)

From Findability to Awareness: Metadata in Music and Technology Enhanced Lear...
From Findability to Awareness: Metadata in Music and Technology Enhanced Lear...From Findability to Awareness: Metadata in Music and Technology Enhanced Lear...
From Findability to Awareness: Metadata in Music and Technology Enhanced Lear...
 
A Federated Search and Social Recommendation Widget
A Federated Search and Social Recommendation WidgetA Federated Search and Social Recommendation Widget
A Federated Search and Social Recommendation Widget
 
Gebruikersdag n@tschool 2015 datagedreven onderwijs
Gebruikersdag n@tschool 2015 datagedreven onderwijsGebruikersdag n@tschool 2015 datagedreven onderwijs
Gebruikersdag n@tschool 2015 datagedreven onderwijs
 
Quantified Self in the Multimedia course.
Quantified Self in the Multimedia course.Quantified Self in the Multimedia course.
Quantified Self in the Multimedia course.
 
Learning Dashboards & Learnscapes
Learning Dashboards & LearnscapesLearning Dashboards & Learnscapes
Learning Dashboards & Learnscapes
 
The Go-Lab portal
The Go-Lab portalThe Go-Lab portal
The Go-Lab portal
 
The Go-Lab project at the REACT Research Days
The Go-Lab project at the REACT Research DaysThe Go-Lab project at the REACT Research Days
The Go-Lab project at the REACT Research Days
 
Speakup - in NordiCHI2014 Personal or Social workshop.
Speakup - in NordiCHI2014 Personal or Social workshop.Speakup - in NordiCHI2014 Personal or Social workshop.
Speakup - in NordiCHI2014 Personal or Social workshop.
 
The Smart Device Specification for Remote Labs
The Smart Device Specification for Remote LabsThe Smart Device Specification for Remote Labs
The Smart Device Specification for Remote Labs
 

Semelhante a An introduction to Git.

Introduction to github using Egit
Introduction to github using EgitIntroduction to github using Egit
Introduction to github using Egitmatz_twt
 
Do you really understand Git?
Do you really understand Git?Do you really understand Git?
Do you really understand Git?ESUG
 
Managing Changes to the Database Across the Project Life Cycle (presented by ...
Managing Changes to the Database Across the Project Life Cycle (presented by ...Managing Changes to the Database Across the Project Life Cycle (presented by ...
Managing Changes to the Database Across the Project Life Cycle (presented by ...eZ Systems
 
Managing changes to eZPublish Database
Managing changes to eZPublish DatabaseManaging changes to eZPublish Database
Managing changes to eZPublish DatabaseGaetano Giunta
 
How to Contribute to Ansible
How to Contribute to AnsibleHow to Contribute to Ansible
How to Contribute to AnsibleCisco DevNet
 
CSE 390 Lecture 9 - Version Control with GIT
CSE 390 Lecture 9 - Version Control with GITCSE 390 Lecture 9 - Version Control with GIT
CSE 390 Lecture 9 - Version Control with GITPouriaQashqai1
 
Beginner's Guide to Version Control with Git
Beginner's Guide to Version Control with GitBeginner's Guide to Version Control with Git
Beginner's Guide to Version Control with GitRobert Lee-Cann
 
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)Ahmed El-Arabawy
 
Collaborative development with git
Collaborative development with gitCollaborative development with git
Collaborative development with gitJoseluis Laso
 
Git censored.key
Git censored.keyGit censored.key
Git censored.keymkramer2
 
CI doesn’t start with Jenkins
CI doesn’t start with JenkinsCI doesn’t start with Jenkins
CI doesn’t start with JenkinsYuriy Rochnyak
 
Application Deployment at UC Riverside
Application Deployment at UC RiversideApplication Deployment at UC Riverside
Application Deployment at UC RiversideMichael Kennedy
 
Harvard ABCD-WWW Git presentation
Harvard ABCD-WWW Git presentationHarvard ABCD-WWW Git presentation
Harvard ABCD-WWW Git presentationJeff Byrnes
 
Let's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHubLet's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHubKim Moir
 
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...Simplilearn
 

Semelhante a An introduction to Git. (20)

Introduction to github using Egit
Introduction to github using EgitIntroduction to github using Egit
Introduction to github using Egit
 
Do you really understand Git?
Do you really understand Git?Do you really understand Git?
Do you really understand Git?
 
Introduction To Git
Introduction To GitIntroduction To Git
Introduction To Git
 
Managing Changes to the Database Across the Project Life Cycle (presented by ...
Managing Changes to the Database Across the Project Life Cycle (presented by ...Managing Changes to the Database Across the Project Life Cycle (presented by ...
Managing Changes to the Database Across the Project Life Cycle (presented by ...
 
Managing changes to eZPublish Database
Managing changes to eZPublish DatabaseManaging changes to eZPublish Database
Managing changes to eZPublish Database
 
How to Contribute to Ansible
How to Contribute to AnsibleHow to Contribute to Ansible
How to Contribute to Ansible
 
Git - A soft introduction
Git - A soft introductionGit - A soft introduction
Git - A soft introduction
 
Git and Github Session
Git and Github SessionGit and Github Session
Git and Github Session
 
CSE 390 Lecture 9 - Version Control with GIT
CSE 390 Lecture 9 - Version Control with GITCSE 390 Lecture 9 - Version Control with GIT
CSE 390 Lecture 9 - Version Control with GIT
 
Beginner's Guide to Version Control with Git
Beginner's Guide to Version Control with GitBeginner's Guide to Version Control with Git
Beginner's Guide to Version Control with Git
 
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
Embedded Systems: Lecture 10: Introduction to Git & GitHub (Part 1)
 
Collaborative development with git
Collaborative development with gitCollaborative development with git
Collaborative development with git
 
Git censored.key
Git censored.keyGit censored.key
Git censored.key
 
CI doesn’t start with Jenkins
CI doesn’t start with JenkinsCI doesn’t start with Jenkins
CI doesn’t start with Jenkins
 
Application Deployment at UC Riverside
Application Deployment at UC RiversideApplication Deployment at UC Riverside
Application Deployment at UC Riverside
 
Git SVN Migrate Reasons
Git SVN Migrate ReasonsGit SVN Migrate Reasons
Git SVN Migrate Reasons
 
CICD_1670665418.pdf
CICD_1670665418.pdfCICD_1670665418.pdf
CICD_1670665418.pdf
 
Harvard ABCD-WWW Git presentation
Harvard ABCD-WWW Git presentationHarvard ABCD-WWW Git presentation
Harvard ABCD-WWW Git presentation
 
Let's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHubLet's Git this Party Started: An Introduction to Git and GitHub
Let's Git this Party Started: An Introduction to Git and GitHub
 
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
DevOps Tutorial For Beginners | DevOps Tutorial | DevOps Tools | DevOps Train...
 

Mais de Sten Govaerts

Learning Analytics at KULeuven by the team of Erik Duval
Learning Analytics at KULeuven by the team of Erik DuvalLearning Analytics at KULeuven by the team of Erik Duval
Learning Analytics at KULeuven by the team of Erik DuvalSten Govaerts
 
Learning Analytics Dashboards
Learning Analytics DashboardsLearning Analytics Dashboards
Learning Analytics DashboardsSten Govaerts
 
Towards an online lab portal for inquiry-based STEM learning at school.
Towards an online lab portal for inquiry-based STEM learning at school.Towards an online lab portal for inquiry-based STEM learning at school.
Towards an online lab portal for inquiry-based STEM learning at school.Sten Govaerts
 
SpeakUp – A Mobile App Facilitating Audience Interaction
SpeakUp – A Mobile App Facilitating Audience InteractionSpeakUp – A Mobile App Facilitating Audience Interaction
SpeakUp – A Mobile App Facilitating Audience InteractionSten Govaerts
 
The Student Activity Meter
The Student Activity MeterThe Student Activity Meter
The Student Activity MeterSten Govaerts
 
Learning Analytics & Learnscapes.
Learning Analytics & Learnscapes.Learning Analytics & Learnscapes.
Learning Analytics & Learnscapes.Sten Govaerts
 
The Student Activity Meter for Awareness and Self-reflection
The Student Activity Meter for Awareness and Self-reflectionThe Student Activity Meter for Awareness and Self-reflection
The Student Activity Meter for Awareness and Self-reflectionSten Govaerts
 
Learning Dashboards and Learnscapes
Learning Dashboards and LearnscapesLearning Dashboards and Learnscapes
Learning Dashboards and LearnscapesSten Govaerts
 
The Student Activity Meter for Awareness and Self-reflection
The Student Activity Meter for Awareness and Self-reflectionThe Student Activity Meter for Awareness and Self-reflection
The Student Activity Meter for Awareness and Self-reflectionSten Govaerts
 
Evaluating the Student Activity Meter: Two Case Studies.
Evaluating the Student Activity Meter: Two Case Studies.Evaluating the Student Activity Meter: Two Case Studies.
Evaluating the Student Activity Meter: Two Case Studies.Sten Govaerts
 
Towards Responsive Open Learning Environments: the ROLE Interoperability Fram...
Towards Responsive Open Learning Environments: the ROLE Interoperability Fram...Towards Responsive Open Learning Environments: the ROLE Interoperability Fram...
Towards Responsive Open Learning Environments: the ROLE Interoperability Fram...Sten Govaerts
 
Using mashup technology to improve findability
Using mashup technology to improve findabilityUsing mashup technology to improve findability
Using mashup technology to improve findabilitySten Govaerts
 
Winter School defense simulation: Visualizing Activities for Self-reflection ...
Winter School defense simulation: Visualizing Activities for Self-reflection ...Winter School defense simulation: Visualizing Activities for Self-reflection ...
Winter School defense simulation: Visualizing Activities for Self-reflection ...Sten Govaerts
 
Visualizing Activities for Self-reflection and Awareness
Visualizing Activities for Self-reflection and AwarenessVisualizing Activities for Self-reflection and Awareness
Visualizing Activities for Self-reflection and AwarenessSten Govaerts
 
Role WP3 roadmapping
Role WP3 roadmappingRole WP3 roadmapping
Role WP3 roadmappingSten Govaerts
 
Improving Findability through Mashups and Visualizations.
Improving Findability through Mashups and Visualizations.Improving Findability through Mashups and Visualizations.
Improving Findability through Mashups and Visualizations.Sten Govaerts
 
User Interface Evaluation from the ROLE user interface meetings.
User Interface Evaluation from the ROLE user interface meetings.User Interface Evaluation from the ROLE user interface meetings.
User Interface Evaluation from the ROLE user interface meetings.Sten Govaerts
 
The Ariadne - Moodle bridge.
The Ariadne - Moodle bridge.The Ariadne - Moodle bridge.
The Ariadne - Moodle bridge.Sten Govaerts
 

Mais de Sten Govaerts (20)

Learning Analytics at KULeuven by the team of Erik Duval
Learning Analytics at KULeuven by the team of Erik DuvalLearning Analytics at KULeuven by the team of Erik Duval
Learning Analytics at KULeuven by the team of Erik Duval
 
Learning Analytics Dashboards
Learning Analytics DashboardsLearning Analytics Dashboards
Learning Analytics Dashboards
 
Towards an online lab portal for inquiry-based STEM learning at school.
Towards an online lab portal for inquiry-based STEM learning at school.Towards an online lab portal for inquiry-based STEM learning at school.
Towards an online lab portal for inquiry-based STEM learning at school.
 
SpeakUp – A Mobile App Facilitating Audience Interaction
SpeakUp – A Mobile App Facilitating Audience InteractionSpeakUp – A Mobile App Facilitating Audience Interaction
SpeakUp – A Mobile App Facilitating Audience Interaction
 
The Student Activity Meter
The Student Activity MeterThe Student Activity Meter
The Student Activity Meter
 
Learning Analytics & Learnscapes.
Learning Analytics & Learnscapes.Learning Analytics & Learnscapes.
Learning Analytics & Learnscapes.
 
The Student Activity Meter for Awareness and Self-reflection
The Student Activity Meter for Awareness and Self-reflectionThe Student Activity Meter for Awareness and Self-reflection
The Student Activity Meter for Awareness and Self-reflection
 
Learning Dashboards and Learnscapes
Learning Dashboards and LearnscapesLearning Dashboards and Learnscapes
Learning Dashboards and Learnscapes
 
The Student Activity Meter for Awareness and Self-reflection
The Student Activity Meter for Awareness and Self-reflectionThe Student Activity Meter for Awareness and Self-reflection
The Student Activity Meter for Awareness and Self-reflection
 
Evaluating the Student Activity Meter: Two Case Studies.
Evaluating the Student Activity Meter: Two Case Studies.Evaluating the Student Activity Meter: Two Case Studies.
Evaluating the Student Activity Meter: Two Case Studies.
 
Towards Responsive Open Learning Environments: the ROLE Interoperability Fram...
Towards Responsive Open Learning Environments: the ROLE Interoperability Fram...Towards Responsive Open Learning Environments: the ROLE Interoperability Fram...
Towards Responsive Open Learning Environments: the ROLE Interoperability Fram...
 
Using mashup technology to improve findability
Using mashup technology to improve findabilityUsing mashup technology to improve findability
Using mashup technology to improve findability
 
Winter School defense simulation: Visualizing Activities for Self-reflection ...
Winter School defense simulation: Visualizing Activities for Self-reflection ...Winter School defense simulation: Visualizing Activities for Self-reflection ...
Winter School defense simulation: Visualizing Activities for Self-reflection ...
 
Multimedia: Music
Multimedia: MusicMultimedia: Music
Multimedia: Music
 
Visualizing Activities for Self-reflection and Awareness
Visualizing Activities for Self-reflection and AwarenessVisualizing Activities for Self-reflection and Awareness
Visualizing Activities for Self-reflection and Awareness
 
Role UI session
Role UI sessionRole UI session
Role UI session
 
Role WP3 roadmapping
Role WP3 roadmappingRole WP3 roadmapping
Role WP3 roadmapping
 
Improving Findability through Mashups and Visualizations.
Improving Findability through Mashups and Visualizations.Improving Findability through Mashups and Visualizations.
Improving Findability through Mashups and Visualizations.
 
User Interface Evaluation from the ROLE user interface meetings.
User Interface Evaluation from the ROLE user interface meetings.User Interface Evaluation from the ROLE user interface meetings.
User Interface Evaluation from the ROLE user interface meetings.
 
The Ariadne - Moodle bridge.
The Ariadne - Moodle bridge.The Ariadne - Moodle bridge.
The Ariadne - Moodle bridge.
 

An introduction to Git.

  • 1. Sten Govaerts KU Leuven
  • 2. what the hell... • distributed version control
  • 3. what the hell... • distributed version control • originally designed and developed by Linus Thorvalds.
  • 4. what the hell... • distributed version control • originally designed and developed by Linus Thorvalds. • git (plural gits) (noun) • (UK, slang, pejorative) A contemptible person. • (UK, slang, pejorative) A silly, incompetent, stupid, annoying or childish person.
  • 5. distributed? centralised distributed version control version control GIT SVN or CVS http://www.slideshare.net/lydian/git-tutorial
  • 6. but why?... • easier offline usage
  • 7. but why?... • easier offline usage • easier to branch projects
  • 8. but why?... • easier offline usage • easier to branch projects • git is good at merging files and re-joining branches
  • 9. git philosophy • Commit early, commit often! • 1 commit = 1 idea or change • easy to read patches by team members • easy to revert changes later • local repo is your working directory
  • 10. why do we need this? • group work • help each other • work on multiple locations • common back-end development? • learning analytics
  • 11. how does it work? file states • modified • staged • commited
  • 12. how does it work?
  • 13. how does it work? dev B shared repo dev A dev C
  • 14. how does it work? dev B git clone shared repo dev A dev C
  • 15. how does it work? dev B shared git push repo dev A dev C
  • 16. how does it work? dev B shared git push repo dev A dev C
  • 17. how does it work? dev B shared git push repo git push dev A dev C
  • 18. how does it work? dev B shared git push repo git push dev A dev C
  • 19. how does it work? dev B shared git push repo dev A dev C
  • 20. how does it work? dev B shared git fetch git push repo git merge dev A dev C
  • 21. • http://www.github.com • make an account (use twitter name) and one repository per group • put repository link on wiki • http://ariadne.cs.kuleuven.be/wiki
  • 22. what do you do next? • student A makes the github repository
  • 23. what do you do next? • student A makes the github repository • student A commits his work to his local repository and pushes to github
  • 24. what do you do next? • student A makes the github repository • student A commits his work to his local repository and pushes to github • student B fetches the repository, commits his work locally and pushes to github
  • 25. what do you do next? • student A makes the github repository • student A commits his work to his local repository and pushes to github • student B fetches the repository, commits his work locally and pushes to github • student C fetches the repository, commits his work locally and pushes to github
  • 26. how to do this? • command line (4 1337 h4x0rz) • IDE tools • eclipse (http://www.vogella.com/articles/EGit/article.html) • xcode (http://support.beanstalkapp.com/customer/portal/ articles/95580-setting-up-git-with-xcode-4 & http:// developer.apple.com/library/mac/#recipes/xcode_help- repositories_organizer/articles/ CommittingFilestoaRepository.html#//apple_ref/doc/uid/ TP40010350-CH8-SW1)
  • 28. git commands cheat sheet • http://www.git-tower.com/files/cheatsheet/ Git_Cheat_Sheet_grey.pdf
  • 29. further reading... • Setup github • Create a repo on github • Fork a repo • Everyday GIT with 20 commands or so • Advanced GIT tutorial • GITcasts • Git docs

Notas do Editor

  1. \n
  2. \n
  3. \n
  4. \n
  5. \n
  6. \n
  7. \n
  8. \n
  9. \n
  10. \n
  11. \n
  12. \n
  13. \n
  14. \n
  15. \n
  16. \n
  17. \n
  18. \n
  19. \n
  20. \n
  21. \n
  22. \n
  23. \n
  24. \n
  25. \n
  26. \n
  27. \n
  28. \n
  29. \n
  30. \n
  31. \n