SlideShare a Scribd company logo
Git, GitHub,How to host your website using
github
• Lesson 1: Version Control
• Lesson 2: Git
• Lesson 3: GitHub
• Lesson 4: How to host your website using github
Club Service Outline
Monday, January 9, 2016
2
• What is version control?
• Why we need version control
• Types of version control
• Popular version control systems
Version Control: Objectives
Monday, January 9, 2016
3
“An application that allows you to record changes to your codebase in a
structured and controlled fashion.”
What is version control?
Monday, January 9, 2016
4
Makes it way easier to undo errors / roll back to earlier versions of code
Why we need Version Control?
Monday, January 9, 2016
5
• Every Client can have a copy of repository to
work offline
• Eg. Git
Distributed Version Control (3rd Generation)
• One Repository is shared within all Client
• Eg. Telnet
Traditional Version Control (2nd Generation)
Types of version control systems
Monday, January 9, 2016
6
• SVN – SubVersioN
• CVS - Concurrent Version System
• Git
• Mercurial
• Bazaar
• LibreSource
Popular version control systems:
Monday, January 9, 2016
7
• What the heck is Git?
• Git Sample Example
• Git Installation
• Git Commands and Practices
Git: Objectives
Monday, January 9, 2016
8
• Git is a version control system.
• It is a best Distributed VCS example.
• Originally developed by Linus Torvalds for the
development of the Linux Kernel in 2005
• Key Points:
▫ Open source, free
▫ Focus on Speed and efficiency
▫ Branching, automatic merging
What is Git?
Monday, January 9, 2016
9
• For WINDOWS:
http://git-scm.com/
• For LINUX:
~(sudo) apt-get install git
Git Installation
Monday, January 9, 2016
10
• Repository : A storage place where all versions of a project are stored.
(local repository refers to a repository on your computer and remote
repository refers to a repository on a server like github.com)
• Cloning : To get a copy of a remote repository to your local computer.
• Fetching : To get latest changes from remote repository without merging
• Pushing : To commit the changes to the remote repository
Git Glossary
Monday, January 9, 2016
11
• Pulling : To get latest changes from remote repository and merge them with
your local repository.
• Commit : To save changes in the local repository
• Checking out : means to get a snapshot of a file or a set of files in a specific
version to your working directory.
• Untracked basically means that Git sees a file you didn’t have in the previous
snapshot (commit);
Git Glossary
Monday, January 9, 2016
12
• Working directory: is a single checkout of one version of the project. These
files are pulled out of the compressed database in the .git directory and
placed on disk for you to use or modify.
• HEAD: refers to a pointer pointing to the currently checked out commit.
Git Glossary
Monday, January 9, 2016
13
• git init
• git help <command>
• git status
• git add
• git commit –m “message”
• git log
• git diff
• git branch <branch-name>
• git checkout <branch-name>
• git merge <branch-name>
Git Commands
Monday, January 9, 2016
14
• What is GitHub?
• Why GitHub?
• Important Links ..
GitHub : Objectives
Monday, January 9, 2016
15
• In simple words GitHub is a code sharing and collaborating platform.
• It’s a Git repository hosting service… but it adds many of its own
features.
• While Git is a command line tool, GitHub provides a web-based
graphical interface
What is GitHub?
Monday, January 9, 2016
16
• By default, all projects are public and free. In you want a private project,
then you have to pay.
• You can clone any public repository, follow projects and developers,
post comments.
Why GitHub
Monday, January 9, 2016
17
• Official Git site
http://git-scm.com
• Git commands
http://gitref.org/basic
• GitHub site
http://github.com
https://github.com/CourseReps/ECEN489-Fall2015/wiki/Git
Important Links:
Monday, January 9, 2016
18
Monday, January 9, 2016
19
1. Create new repository by clicking on new repository button
2. Give repository name as “your_username.github.io”. For e.g. In my case as shown
3. Click on create repository.
How to host your website using github
Monday, January 9, 2016
20
4. Now go to directory where you want to place your website files. For e.g. say
D:GITHUBMYWEBSITE and right click and select open “Git Bash Here”
5. Give command : git clone https://github.com/<username>/<username>.github.io
5. This will create folder of <username>.github.io. Add all files(.html,css,js) for
your website into this folder
How to host your website using github(continued)
Monday, January 9, 2016
21
How to host your website using github(continued)
6. After adding files give command:
> git add .
> git commit –m “first commit”
> git push origin master
7. That’s it..!! Now go to url
“https://<username>.github.io”
Monday, January 9, 2016
22
Thank You!

More Related Content

What's hot

Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Simplilearn
 
Git One Day Training Notes
Git One Day Training NotesGit One Day Training Notes
Git One Day Training Notesglen_a_smith
 
Git 101 - Crash Course in Version Control using Git
Git 101 - Crash Course in Version Control using GitGit 101 - Crash Course in Version Control using Git
Git 101 - Crash Course in Version Control using GitGeoff Hoffman
 
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewRueful Robin
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hubVenkat Malladi
 
Git - Basic Crash Course
Git - Basic Crash CourseGit - Basic Crash Course
Git - Basic Crash CourseNilay Binjola
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Omar Fathy
 
GitHub Actions in action
GitHub Actions in actionGitHub Actions in action
GitHub Actions in actionOleksii Holub
 
Difference between gitlab vs github vs bitbucket
Difference between gitlab vs github vs bitbucketDifference between gitlab vs github vs bitbucket
Difference between gitlab vs github vs bitbucketAcodez IT Solutions
 
Introduction to git and github
Introduction to git and githubIntroduction to git and github
Introduction to git and githubAderemi Dadepo
 
The Fundamentals of Git
The Fundamentals of GitThe Fundamentals of Git
The Fundamentals of GitDivineOmega
 

What's hot (20)

Git & git hub
Git & git hubGit & git hub
Git & git hub
 
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
Git Tutorial For Beginners | What is Git and GitHub? | DevOps Tools | DevOps ...
 
Git One Day Training Notes
Git One Day Training NotesGit One Day Training Notes
Git One Day Training Notes
 
A prentation on github
A prentation on githubA prentation on github
A prentation on github
 
Git 101 - Crash Course in Version Control using Git
Git 101 - Crash Course in Version Control using GitGit 101 - Crash Course in Version Control using Git
Git 101 - Crash Course in Version Control using Git
 
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overviewGit and GitHub | Concept about Git and GitHub Process | Git Process overview
Git and GitHub | Concept about Git and GitHub Process | Git Process overview
 
Git
GitGit
Git
 
Intro to git and git hub
Intro to git and git hubIntro to git and git hub
Intro to git and git hub
 
Git best practices workshop
Git best practices workshopGit best practices workshop
Git best practices workshop
 
Git - Basic Crash Course
Git - Basic Crash CourseGit - Basic Crash Course
Git - Basic Crash Course
 
Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1Introduction to Git and GitHub Part 1
Introduction to Git and GitHub Part 1
 
Introdução ao Git
Introdução ao GitIntrodução ao Git
Introdução ao Git
 
GitHub Actions in action
GitHub Actions in actionGitHub Actions in action
GitHub Actions in action
 
Difference between gitlab vs github vs bitbucket
Difference between gitlab vs github vs bitbucketDifference between gitlab vs github vs bitbucket
Difference between gitlab vs github vs bitbucket
 
Introduction to git and github
Introduction to git and githubIntroduction to git and github
Introduction to git and github
 
Github
GithubGithub
Github
 
Git and git flow
Git and git flowGit and git flow
Git and git flow
 
Git presentation
Git presentationGit presentation
Git presentation
 
Git & GitHub for Beginners
Git & GitHub for BeginnersGit & GitHub for Beginners
Git & GitHub for Beginners
 
The Fundamentals of Git
The Fundamentals of GitThe Fundamentals of Git
The Fundamentals of Git
 

Similar to Git,Github,How to host using Github

Git for folk who like GUIs
Git for folk who like GUIsGit for folk who like GUIs
Git for folk who like GUIsTim Osborn
 
Quick and easy way to get started with Git & GitHub
Quick and easy way to get started with Git & GitHubQuick and easy way to get started with Git & GitHub
Quick and easy way to get started with Git & GitHubAshoka R K T
 
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
 
Git installation and configuration
Git installation and configurationGit installation and configuration
Git installation and configurationKishor Kumar
 
ePOM - Fundamentals of Research Software Development - Code Version Control
ePOM - Fundamentals of Research Software Development - Code Version ControlePOM - Fundamentals of Research Software Development - Code Version Control
ePOM - Fundamentals of Research Software Development - Code Version ControlGiuseppe Masetti
 
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
 
Hacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginnersHacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginnersDeepikaRana30
 
Introduction to git and githhub with practicals.pptx
Introduction to git and githhub with practicals.pptxIntroduction to git and githhub with practicals.pptx
Introduction to git and githhub with practicals.pptxAbdul Salam
 
Introduction to Git for Network Engineers
Introduction to Git for Network EngineersIntroduction to Git for Network Engineers
Introduction to Git for Network EngineersJoel W. King
 
Using Git and BitBucket
Using Git and BitBucketUsing Git and BitBucket
Using Git and BitBucketMedhat Dawoud
 
Bitbucket as a code server and pmt
Bitbucket as a code server and pmt Bitbucket as a code server and pmt
Bitbucket as a code server and pmt malike4u
 

Similar to Git,Github,How to host using Github (20)

Git_Git_Lab_1664715263.pdf
Git_Git_Lab_1664715263.pdfGit_Git_Lab_1664715263.pdf
Git_Git_Lab_1664715263.pdf
 
Git for folk who like GUIs
Git for folk who like GUIsGit for folk who like GUIs
Git for folk who like GUIs
 
Migrating To GitHub
Migrating To GitHub  Migrating To GitHub
Migrating To GitHub
 
Quick and easy way to get started with Git & GitHub
Quick and easy way to get started with Git & GitHubQuick and easy way to get started with Git & GitHub
Quick and easy way to get started with Git & GitHub
 
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
 
Git installation and configuration
Git installation and configurationGit installation and configuration
Git installation and configuration
 
ePOM - Fundamentals of Research Software Development - Code Version Control
ePOM - Fundamentals of Research Software Development - Code Version ControlePOM - Fundamentals of Research Software Development - Code Version Control
ePOM - Fundamentals of Research Software Development - Code Version Control
 
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)
 
Hacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginnersHacktoberfest 2020 - Open source for beginners
Hacktoberfest 2020 - Open source for beginners
 
Mini-training: Let’s Git It!
Mini-training: Let’s Git It!Mini-training: Let’s Git It!
Mini-training: Let’s Git It!
 
Git and GitHub Info Session
Git and GitHub Info SessionGit and GitHub Info Session
Git and GitHub Info Session
 
Introduction to git and githhub with practicals.pptx
Introduction to git and githhub with practicals.pptxIntroduction to git and githhub with practicals.pptx
Introduction to git and githhub with practicals.pptx
 
Git tutorial
Git tutorialGit tutorial
Git tutorial
 
GitHub Workflows for Technical Communication
GitHub Workflows for Technical CommunicationGitHub Workflows for Technical Communication
GitHub Workflows for Technical Communication
 
Introduction to Git for Network Engineers
Introduction to Git for Network EngineersIntroduction to Git for Network Engineers
Introduction to Git for Network Engineers
 
Version control
Version controlVersion control
Version control
 
Advance workshop on git
Advance workshop on gitAdvance workshop on git
Advance workshop on git
 
Using Git and BitBucket
Using Git and BitBucketUsing Git and BitBucket
Using Git and BitBucket
 
Version control
Version controlVersion control
Version control
 
Bitbucket as a code server and pmt
Bitbucket as a code server and pmt Bitbucket as a code server and pmt
Bitbucket as a code server and pmt
 

More from Sujata Regoti

Social media connecting or disconnecting
Social media connecting or disconnectingSocial media connecting or disconnecting
Social media connecting or disconnectingSujata Regoti
 
Servlet and jsp interview questions
Servlet and jsp interview questionsServlet and jsp interview questions
Servlet and jsp interview questionsSujata Regoti
 
Technical aptitude test 2 CSE
Technical aptitude test 2 CSETechnical aptitude test 2 CSE
Technical aptitude test 2 CSESujata Regoti
 
Technical aptitude Test 1 CSE
Technical aptitude Test 1 CSETechnical aptitude Test 1 CSE
Technical aptitude Test 1 CSESujata Regoti
 

More from Sujata Regoti (9)

Social media connecting or disconnecting
Social media connecting or disconnectingSocial media connecting or disconnecting
Social media connecting or disconnecting
 
Image retrieval
Image retrievalImage retrieval
Image retrieval
 
Key management
Key managementKey management
Key management
 
Web mining tools
Web mining toolsWeb mining tools
Web mining tools
 
Servlet and jsp interview questions
Servlet and jsp interview questionsServlet and jsp interview questions
Servlet and jsp interview questions
 
Technical aptitude test 2 CSE
Technical aptitude test 2 CSETechnical aptitude test 2 CSE
Technical aptitude test 2 CSE
 
Technical aptitude Test 1 CSE
Technical aptitude Test 1 CSETechnical aptitude Test 1 CSE
Technical aptitude Test 1 CSE
 
Big Data
Big DataBig Data
Big Data
 
Inflation measuring
Inflation measuringInflation measuring
Inflation measuring
 

Recently uploaded

Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Frank van Harmelen
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoTAnalytics
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutesconfluent
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...Product School
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform EngineeringJemma Hussein Allen
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsExpeed Software
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor TurskyiFwdays
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsVlad Stirbu
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxAbida Shariff
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀DianaGray10
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaRTTS
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Product School
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsPaul Groth
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2DianaGray10
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Thierry Lestable
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersSafe Software
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...Product School
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3DianaGray10
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingThijs Feryn
 

Recently uploaded (20)

Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024IoT Analytics Company Presentation May 2024
IoT Analytics Company Presentation May 2024
 
Speed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in MinutesSpeed Wins: From Kafka to APIs in Minutes
Speed Wins: From Kafka to APIs in Minutes
 
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
From Siloed Products to Connected Ecosystem: Building a Sustainable and Scala...
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
In-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT ProfessionalsIn-Depth Performance Testing Guide for IT Professionals
In-Depth Performance Testing Guide for IT Professionals
 
"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi"Impact of front-end architecture on development cost", Viktor Turskyi
"Impact of front-end architecture on development cost", Viktor Turskyi
 
Quantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIsQuantum Computing: Current Landscape and the Future Role of APIs
Quantum Computing: Current Landscape and the Future Role of APIs
 
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptxIOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
IOS-PENTESTING-BEGINNERS-PRACTICAL-GUIDE-.pptx
 
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
Exploring UiPath Orchestrator API: updates and limits in 2024 🚀
 
JMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and GrafanaJMeter webinar - integration with InfluxDB and Grafana
JMeter webinar - integration with InfluxDB and Grafana
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMsTo Graph or Not to Graph Knowledge Graph Architectures and LLMs
To Graph or Not to Graph Knowledge Graph Architectures and LLMs
 
UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2UiPath Test Automation using UiPath Test Suite series, part 2
UiPath Test Automation using UiPath Test Suite series, part 2
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
FIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdfFIDO Alliance Osaka Seminar: Overview.pdf
FIDO Alliance Osaka Seminar: Overview.pdf
 
Essentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with ParametersEssentials of Automations: Optimizing FME Workflows with Parameters
Essentials of Automations: Optimizing FME Workflows with Parameters
 
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
From Daily Decisions to Bottom Line: Connecting Product Work to Revenue by VP...
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 

Git,Github,How to host using Github

  • 1. Git, GitHub,How to host your website using github
  • 2. • Lesson 1: Version Control • Lesson 2: Git • Lesson 3: GitHub • Lesson 4: How to host your website using github Club Service Outline Monday, January 9, 2016 2
  • 3. • What is version control? • Why we need version control • Types of version control • Popular version control systems Version Control: Objectives Monday, January 9, 2016 3
  • 4. “An application that allows you to record changes to your codebase in a structured and controlled fashion.” What is version control? Monday, January 9, 2016 4
  • 5. Makes it way easier to undo errors / roll back to earlier versions of code Why we need Version Control? Monday, January 9, 2016 5
  • 6. • Every Client can have a copy of repository to work offline • Eg. Git Distributed Version Control (3rd Generation) • One Repository is shared within all Client • Eg. Telnet Traditional Version Control (2nd Generation) Types of version control systems Monday, January 9, 2016 6
  • 7. • SVN – SubVersioN • CVS - Concurrent Version System • Git • Mercurial • Bazaar • LibreSource Popular version control systems: Monday, January 9, 2016 7
  • 8. • What the heck is Git? • Git Sample Example • Git Installation • Git Commands and Practices Git: Objectives Monday, January 9, 2016 8
  • 9. • Git is a version control system. • It is a best Distributed VCS example. • Originally developed by Linus Torvalds for the development of the Linux Kernel in 2005 • Key Points: ▫ Open source, free ▫ Focus on Speed and efficiency ▫ Branching, automatic merging What is Git? Monday, January 9, 2016 9
  • 10. • For WINDOWS: http://git-scm.com/ • For LINUX: ~(sudo) apt-get install git Git Installation Monday, January 9, 2016 10
  • 11. • Repository : A storage place where all versions of a project are stored. (local repository refers to a repository on your computer and remote repository refers to a repository on a server like github.com) • Cloning : To get a copy of a remote repository to your local computer. • Fetching : To get latest changes from remote repository without merging • Pushing : To commit the changes to the remote repository Git Glossary Monday, January 9, 2016 11
  • 12. • Pulling : To get latest changes from remote repository and merge them with your local repository. • Commit : To save changes in the local repository • Checking out : means to get a snapshot of a file or a set of files in a specific version to your working directory. • Untracked basically means that Git sees a file you didn’t have in the previous snapshot (commit); Git Glossary Monday, January 9, 2016 12
  • 13. • Working directory: is a single checkout of one version of the project. These files are pulled out of the compressed database in the .git directory and placed on disk for you to use or modify. • HEAD: refers to a pointer pointing to the currently checked out commit. Git Glossary Monday, January 9, 2016 13
  • 14. • git init • git help <command> • git status • git add • git commit –m “message” • git log • git diff • git branch <branch-name> • git checkout <branch-name> • git merge <branch-name> Git Commands Monday, January 9, 2016 14
  • 15. • What is GitHub? • Why GitHub? • Important Links .. GitHub : Objectives Monday, January 9, 2016 15
  • 16. • In simple words GitHub is a code sharing and collaborating platform. • It’s a Git repository hosting service… but it adds many of its own features. • While Git is a command line tool, GitHub provides a web-based graphical interface What is GitHub? Monday, January 9, 2016 16
  • 17. • By default, all projects are public and free. In you want a private project, then you have to pay. • You can clone any public repository, follow projects and developers, post comments. Why GitHub Monday, January 9, 2016 17
  • 18. • Official Git site http://git-scm.com • Git commands http://gitref.org/basic • GitHub site http://github.com https://github.com/CourseReps/ECEN489-Fall2015/wiki/Git Important Links: Monday, January 9, 2016 18
  • 19. Monday, January 9, 2016 19 1. Create new repository by clicking on new repository button 2. Give repository name as “your_username.github.io”. For e.g. In my case as shown 3. Click on create repository. How to host your website using github
  • 20. Monday, January 9, 2016 20 4. Now go to directory where you want to place your website files. For e.g. say D:GITHUBMYWEBSITE and right click and select open “Git Bash Here” 5. Give command : git clone https://github.com/<username>/<username>.github.io 5. This will create folder of <username>.github.io. Add all files(.html,css,js) for your website into this folder How to host your website using github(continued)
  • 21. Monday, January 9, 2016 21 How to host your website using github(continued) 6. After adding files give command: > git add . > git commit –m “first commit” > git push origin master 7. That’s it..!! Now go to url “https://<username>.github.io”
  • 22. Monday, January 9, 2016 22 Thank You!

Editor's Notes

  1. Lesson descriptions should be brief.
  2. Example objectives At the end of this lesson, you will be able to: Save files to the team Web server. Move files to different locations on the team Web server. Share files on the team Web server.