SlideShare ist ein Scribd-Unternehmen logo
1 von 36
Git & GitHub Integration
With Guidewire
By Gandhi Ramu
2
Agenda
 Git Overview
 Branching
 Merging
 Remote Repositories
 Key Features of Git
 Key Git Commands
 GitHub & Gists Overview
 Guidewire IDE Integration with Git & GitHub
 Demo
3
Git Overview
 Centralized Version Control Systems :
A single server that contains all the versioned files, and a number of clients that
check out files from that central place.
 Cons :
If centralized server goes down for an hour, then during that hour nobody can
collaborate at all or save versioned changes to anything they’re working on.
4
(Cont..)
 Distributed Version Control Systems
Clients don’t just check out the latest snapshot of the files: they fully mirror the
repository.
 Pros :
If any server dies, and these systems were collaborating via it, any of the client
repositories can be copied back up to the server to restore it.
5
(Cont..)
Difference between Git and any other VCS
 Git stores data as snapshots of the
project over time
 Nearly every operation is local
 Other systems tend to store data as
changes to a base version of each file
 CVCS where most operations have that
network latency overhead
6
(Cont..)
 Git has three main states
1. Committed - The data is safely stored in your local database
2. Modified - Changed the file but have not committed it to your database yet
3. Staged - Marked a modified file in its current version to go into your next commit snapshot
7
(Cont..)
 Each file in working directory can be in one of two states
1. Tracked - Files that were in the last snapshot; they can be unmodified, modified,
or staged.
2. Untracked - Everything else
8
Branching
$ git commit -m 'initial commit of my project'
 Single commit repository data.
9
(Cont..)
 Git object data for multiple commits
10
(Cont..)
 A branch in Git is simply a lightweight movable pointer to one of these commits. The default
branch name in Git is master
 Every commit, it moves forward automatically
11
(Cont..)
 Create a new branch
 A new pointer at the same commit
$ git branch testing
12
(Cont..)
 Pointer HEAD
 HEAD file pointing to the branch you’re on
13
(Cont..)
 Switch to an existing branch
 $ git checkout testing
 The branch that HEAD points to
moves forward with each commit
14
Merging
 A simple three-way merge
 Git automatically identifies the best common-ancestor merge base for branch merging
15
Remote Repositories
 Clone the repository
 $ git clone URL
 Fetching from remotes
• $ git fetch [remote-name]
 Pushing to remotes
• $ git push [remote-name] [branch-name]
16
(Cont..)
 Clone the repository
 A Git clone gives own master branch and origin/master pointing to origin’s master branch.
17
(Cont..)
 Fetching from remotes
18
Key features of Git
 Speed
 Simple design
 Strong support for non-linear development (thousands of parallel branches)
 Fully distributed
 Able to handle large projects like the Linux kernel efficiently (speed and data size)
19
Key Git Commands
Git Commands Example
$ git init $ git init Project1
$ git add $ git add FileName1
$ git status
$ git diff --staged
$ git commit –m “message”
$ git rm $ git rm FileName1
$ git reset HEAD $ git reset Head FileName1.gs
$ git log
$ git clone $ git clone URL
$ git help config
20
GitHub Overview
 GitHub is an open source version control system
 It is a Git repository web-based hosting service
 Distributed revision control
 Source code management
 Open-source development community
 Mobile integration
 Collaboration features ( wiki, task management, bug tracking, and feature requests )
 Key steps
• Creating a repository
• Forking a repository
• Social
21
Gists Overview
 Gist is a Git repository
 Gists are a great way to share your work
 Share single files, parts of files, or full applications
 Gists can be forked, and cloned
Types of gists
 Public gists
 Secret gists
 Anonymous gists
22
Guidewire IDE Integration with Git & GitHub
 Enable Version Control Integration
1
2 3
23
(Cont..)
4
24
(Cont..)
 Git Setup
5
25
(Cont..)
 GitHub Setup
6
26
(Cont..)
 Add files or package to Stage
27
(Cont..)
 Commit files to Git
28
(Cont..)
1
2
3 4
 Commit window
29
(Cont..)
 Version control console
30
(Cont..)
 Version control console
31
(Cont..)
 Share project on GitHub
32
(Cont..)
 GitHub
33
(Cont..)
 GitHub
34
35
Demo
1. Git
2. GitHub
3. Git, GitHub, and Gists with Guidewire IDE
Thank You

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (19)

Git training (basic)
Git training (basic)Git training (basic)
Git training (basic)
 
Version Control & Git
Version Control & GitVersion Control & Git
Version Control & Git
 
Git commands
Git commandsGit commands
Git commands
 
Git 入门与实践
Git 入门与实践Git 入门与实践
Git 入门与实践
 
GDSC - Introduction to GIT
GDSC - Introduction to GITGDSC - Introduction to GIT
GDSC - Introduction to GIT
 
Git hub_pptx
Git hub_pptxGit hub_pptx
Git hub_pptx
 
Extra bit with git
Extra bit with gitExtra bit with git
Extra bit with git
 
Git slides
Git slidesGit slides
Git slides
 
News from Git in Java Land
News from Git in Java LandNews from Git in Java Land
News from Git in Java Land
 
Git introduction
Git introductionGit introduction
Git introduction
 
Version Control with Git
Version Control with GitVersion Control with Git
Version Control with Git
 
EGit 3.0 and beyond
EGit 3.0 and beyondEGit 3.0 and beyond
EGit 3.0 and beyond
 
Version control system
Version control systemVersion control system
Version control system
 
Git 101
Git 101Git 101
Git 101
 
introduction in version control system
introduction in version control systemintroduction in version control system
introduction in version control system
 
Git presentation
Git presentationGit presentation
Git presentation
 
Git & GitHub N00bs
Git & GitHub N00bsGit & GitHub N00bs
Git & GitHub N00bs
 
Gn unify git
Gn unify gitGn unify git
Gn unify git
 
Git, Beginner to Advanced Survey
Git, Beginner to Advanced SurveyGit, Beginner to Advanced Survey
Git, Beginner to Advanced Survey
 

Ähnlich wie Git_and_GitHub Integration_with_Guidewire

Ähnlich wie Git_and_GitHub Integration_with_Guidewire (20)

Git 101
Git 101Git 101
Git 101
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 
github_gyan.pptx
github_gyan.pptxgithub_gyan.pptx
github_gyan.pptx
 
git github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptxgit github PPT_GDSCIIITK.pptx
git github PPT_GDSCIIITK.pptx
 
Git and Github - A primer
Git and Github - A primerGit and Github - A primer
Git and Github - A primer
 
Hacktoberfest intro to Git and GitHub
Hacktoberfest intro to Git and GitHubHacktoberfest intro to Git and GitHub
Hacktoberfest intro to Git and GitHub
 
Git and Github
Git and GithubGit and Github
Git and Github
 
Introduction to git & GitHub
Introduction to git & GitHubIntroduction to git & GitHub
Introduction to git & GitHub
 
Git Series - Part 1
Git Series - Part 1 Git Series - Part 1
Git Series - Part 1
 
Git and github
Git and githubGit and github
Git and github
 
Introduction to Git and Github
Introduction to Git and Github Introduction to Git and Github
Introduction to Git and Github
 
Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?Git Commands Every Developer Should Know?
Git Commands Every Developer Should Know?
 
Git Session 2K23.pptx
Git Session 2K23.pptxGit Session 2K23.pptx
Git Session 2K23.pptx
 
Introduction to Git and Github
Introduction to Git and GithubIntroduction to Git and Github
Introduction to Git and Github
 
Learning git
Learning gitLearning git
Learning git
 
GIT_Overview.
GIT_Overview.GIT_Overview.
GIT_Overview.
 
Version control with GIT
Version control with GITVersion control with GIT
Version control with GIT
 
Git
GitGit
Git
 
Git basics for beginners
Git basics for beginnersGit basics for beginners
Git basics for beginners
 
GIT_training_SoftServeBulgaria2016
GIT_training_SoftServeBulgaria2016GIT_training_SoftServeBulgaria2016
GIT_training_SoftServeBulgaria2016
 

Kürzlich hochgeladen

Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based projectAnoyGreter
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfYashikaSharma391629
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalLionel Briand
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaHanief Utama
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Cizo Technology Services
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...OnePlan Solutions
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 

Kürzlich hochgeladen (20)

Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
MYjobs Presentation Django-based project
MYjobs Presentation Django-based projectMYjobs Presentation Django-based project
MYjobs Presentation Django-based project
 
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdfInnovate and Collaborate- Harnessing the Power of Open Source Software.pdf
Innovate and Collaborate- Harnessing the Power of Open Source Software.pdf
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Precise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive GoalPrecise and Complete Requirements? An Elusive Goal
Precise and Complete Requirements? An Elusive Goal
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
React Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief UtamaReact Server Component in Next.js by Hanief Utama
React Server Component in Next.js by Hanief Utama
 
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
Global Identity Enrolment and Verification Pro Solution - Cizo Technology Ser...
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
Tech Tuesday - Mastering Time Management Unlock the Power of OnePlan's Timesh...
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 

Git_and_GitHub Integration_with_Guidewire

  • 1. Git & GitHub Integration With Guidewire By Gandhi Ramu
  • 2. 2 Agenda  Git Overview  Branching  Merging  Remote Repositories  Key Features of Git  Key Git Commands  GitHub & Gists Overview  Guidewire IDE Integration with Git & GitHub  Demo
  • 3. 3 Git Overview  Centralized Version Control Systems : A single server that contains all the versioned files, and a number of clients that check out files from that central place.  Cons : If centralized server goes down for an hour, then during that hour nobody can collaborate at all or save versioned changes to anything they’re working on.
  • 4. 4 (Cont..)  Distributed Version Control Systems Clients don’t just check out the latest snapshot of the files: they fully mirror the repository.  Pros : If any server dies, and these systems were collaborating via it, any of the client repositories can be copied back up to the server to restore it.
  • 5. 5 (Cont..) Difference between Git and any other VCS  Git stores data as snapshots of the project over time  Nearly every operation is local  Other systems tend to store data as changes to a base version of each file  CVCS where most operations have that network latency overhead
  • 6. 6 (Cont..)  Git has three main states 1. Committed - The data is safely stored in your local database 2. Modified - Changed the file but have not committed it to your database yet 3. Staged - Marked a modified file in its current version to go into your next commit snapshot
  • 7. 7 (Cont..)  Each file in working directory can be in one of two states 1. Tracked - Files that were in the last snapshot; they can be unmodified, modified, or staged. 2. Untracked - Everything else
  • 8. 8 Branching $ git commit -m 'initial commit of my project'  Single commit repository data.
  • 9. 9 (Cont..)  Git object data for multiple commits
  • 10. 10 (Cont..)  A branch in Git is simply a lightweight movable pointer to one of these commits. The default branch name in Git is master  Every commit, it moves forward automatically
  • 11. 11 (Cont..)  Create a new branch  A new pointer at the same commit $ git branch testing
  • 12. 12 (Cont..)  Pointer HEAD  HEAD file pointing to the branch you’re on
  • 13. 13 (Cont..)  Switch to an existing branch  $ git checkout testing  The branch that HEAD points to moves forward with each commit
  • 14. 14 Merging  A simple three-way merge  Git automatically identifies the best common-ancestor merge base for branch merging
  • 15. 15 Remote Repositories  Clone the repository  $ git clone URL  Fetching from remotes • $ git fetch [remote-name]  Pushing to remotes • $ git push [remote-name] [branch-name]
  • 16. 16 (Cont..)  Clone the repository  A Git clone gives own master branch and origin/master pointing to origin’s master branch.
  • 18. 18 Key features of Git  Speed  Simple design  Strong support for non-linear development (thousands of parallel branches)  Fully distributed  Able to handle large projects like the Linux kernel efficiently (speed and data size)
  • 19. 19 Key Git Commands Git Commands Example $ git init $ git init Project1 $ git add $ git add FileName1 $ git status $ git diff --staged $ git commit –m “message” $ git rm $ git rm FileName1 $ git reset HEAD $ git reset Head FileName1.gs $ git log $ git clone $ git clone URL $ git help config
  • 20. 20 GitHub Overview  GitHub is an open source version control system  It is a Git repository web-based hosting service  Distributed revision control  Source code management  Open-source development community  Mobile integration  Collaboration features ( wiki, task management, bug tracking, and feature requests )  Key steps • Creating a repository • Forking a repository • Social
  • 21. 21 Gists Overview  Gist is a Git repository  Gists are a great way to share your work  Share single files, parts of files, or full applications  Gists can be forked, and cloned Types of gists  Public gists  Secret gists  Anonymous gists
  • 22. 22 Guidewire IDE Integration with Git & GitHub  Enable Version Control Integration 1 2 3
  • 26. 26 (Cont..)  Add files or package to Stage
  • 34. 34
  • 35. 35 Demo 1. Git 2. GitHub 3. Git, GitHub, and Gists with Guidewire IDE