SlideShare ist ein Scribd-Unternehmen logo
1 von 37
Getting Started with Git
&
GitHub
Kartik Kannapur
GDG Bangalore Team
History of Git
What is a Version Control System ?
Why do we need a Version Control
System?
GitHub
➢Collaboration
➢Distribution
➢Discussion
www.github.com
Congratulations on Creating your first
GitHub Repo !!!
Let’s unleash the POWER of GitHub !!!
Installation
Installing Git on OSX :
https://mac.github.com/
Installation
Installing Git on OSX :
Installation
Installing Git on Linux :
➢$ sudo yum install git
➢$ sudo apt-get install git
Installation
Installing Git on Windows :
https://windows.github.com/
Installation
Installing Git on Windows :
Mac & Windows User == Sign In & Relax
Linux User == Work Now
First Time Git Setup
Your Identity :
➢ $ git config --global user.name “KartikKannapur”
➢ $ git config --global user.email
“kartikkannapur@gmail.com”
➢ $ git confg --list
We are Ready !!!
Website hosting via
GitHub
Setting up your GitHub Page
➢ Organization Page
➢ Project Page
pages.github.com
Setting up your GitHub Project Page
➢ Organization Page
➢ Project Page : Auto - generate OR Start from Scratch
pages.github.com
Setting up your GitHub Project Page
Setting up your GitHub Project Page
Setting up your GitHub Project Page
Setting up your GitHub Project Page
Setting up your GitHub Project Page
http://kartikkannapur.github.io/MyFirstGithubRepo/
http://username.github.io/repository
Congratulations on Creating & Hosting
your first Website !!!
Cloning a Git Repository
$ cd home/folder_path …
➢git clone <HTTPS Clone URL>
Create a gh-page
➢ $ echo “MyFirstProject” > index.html
➢git add index.html
➢git commit -a -m “Project Page”
➢git push origin gh-pages
‘Push’ing your changes
➢git add --all
➢git status
➢git commit -m “<message>”
➢git push origin master
Make it your own - “Fork” it
GitHub is your New Resume !!
http://kartikkannapur.com/GitHub101/
Thank You
kartikkannapur@gmail.com
KartikKannapur
+KartikKannapur27
@KartikKannapur

Weitere ähnliche Inhalte

Was ist angesagt?

WebデザイナーのためのGit勉強会 ~準備編~
WebデザイナーのためのGit勉強会 ~準備編~WebデザイナーのためのGit勉強会 ~準備編~
WebデザイナーのためのGit勉強会 ~準備編~
Satoshi Ebisawa
 

Was ist angesagt? (20)

Github integration-kostyasha
Github integration-kostyashaGithub integration-kostyasha
Github integration-kostyasha
 
Puppet at GitHub
Puppet at GitHubPuppet at GitHub
Puppet at GitHub
 
Git in 5 Minutes
Git in 5 MinutesGit in 5 Minutes
Git in 5 Minutes
 
Git intro hands on windows with msysgit
Git intro hands on windows with msysgitGit intro hands on windows with msysgit
Git intro hands on windows with msysgit
 
Stackarius workshop meetup blockstack
Stackarius workshop   meetup blockstackStackarius workshop   meetup blockstack
Stackarius workshop meetup blockstack
 
Introduction to GIT versioning
Introduction to GIT versioningIntroduction to GIT versioning
Introduction to GIT versioning
 
Install Nagios Core On CentOS 7
Install Nagios Core On CentOS 7Install Nagios Core On CentOS 7
Install Nagios Core On CentOS 7
 
Git & github
Git & githubGit & github
Git & github
 
Open source
Open sourceOpen source
Open source
 
WebデザイナーのためのGit勉強会 ~準備編~
WebデザイナーのためのGit勉強会 ~準備編~WebデザイナーのためのGit勉強会 ~準備編~
WebデザイナーのためのGit勉強会 ~準備編~
 
Git: be social
Git: be socialGit: be social
Git: be social
 
Introduction to Version Control with GIT
Introduction to Version Control with GITIntroduction to Version Control with GIT
Introduction to Version Control with GIT
 
Git - Intro to the Basics of DVCS
Git - Intro to the Basics of DVCSGit - Intro to the Basics of DVCS
Git - Intro to the Basics of DVCS
 
Git hooks
Git hooksGit hooks
Git hooks
 
Open source git
Open source   gitOpen source   git
Open source git
 
Frasco: Jekyll Starter Project
Frasco: Jekyll Starter ProjectFrasco: Jekyll Starter Project
Frasco: Jekyll Starter Project
 
GIT 101
GIT 101GIT 101
GIT 101
 
Git hooks
Git hooksGit hooks
Git hooks
 
Git hooks for front end developers
Git hooks for front end developersGit hooks for front end developers
Git hooks for front end developers
 
Tài liệu sử dụng GitHub
Tài liệu sử dụng GitHubTài liệu sử dụng GitHub
Tài liệu sử dụng GitHub
 

Andere mochten auch

QPH BD GROUP-2
QPH BD GROUP-2QPH BD GROUP-2
QPH BD GROUP-2
Sm Monir
 

Andere mochten auch (20)

Introduction to JavaScript and Google Apps Script
Introduction to JavaScript and Google Apps ScriptIntroduction to JavaScript and Google Apps Script
Introduction to JavaScript and Google Apps Script
 
Enfermedades
EnfermedadesEnfermedades
Enfermedades
 
QPH BD GROUP-2
QPH BD GROUP-2QPH BD GROUP-2
QPH BD GROUP-2
 
Pacmac scrach
Pacmac scrachPacmac scrach
Pacmac scrach
 
Uruguay. Desarrollo y adaptación al cambio climático
Uruguay. Desarrollo y adaptación al cambio climáticoUruguay. Desarrollo y adaptación al cambio climático
Uruguay. Desarrollo y adaptación al cambio climático
 
2. lista grupo 2
2. lista grupo 22. lista grupo 2
2. lista grupo 2
 
La Salle Breakfast 2012 con @OscarDS
La Salle Breakfast 2012 con @OscarDSLa Salle Breakfast 2012 con @OscarDS
La Salle Breakfast 2012 con @OscarDS
 
Histórico aceccat ESP
Histórico aceccat ESPHistórico aceccat ESP
Histórico aceccat ESP
 
Articuloecologia
ArticuloecologiaArticuloecologia
Articuloecologia
 
Internet
InternetInternet
Internet
 
Manual mail chimp
Manual mail chimpManual mail chimp
Manual mail chimp
 
Best practices curriculum
Best practices curriculum Best practices curriculum
Best practices curriculum
 
Proposal to Create the Building Healthy Communities Nonprofit
Proposal to Create the Building Healthy Communities NonprofitProposal to Create the Building Healthy Communities Nonprofit
Proposal to Create the Building Healthy Communities Nonprofit
 
Mineralia
MineraliaMineralia
Mineralia
 
Automating Payables for the SME Market: Diving Head First into AP Automation
Automating Payables for the SME Market: Diving Head First into AP AutomationAutomating Payables for the SME Market: Diving Head First into AP Automation
Automating Payables for the SME Market: Diving Head First into AP Automation
 
Gestión empresarial agrícola
Gestión empresarial agrícolaGestión empresarial agrícola
Gestión empresarial agrícola
 
Practica 3 intoxicacion por metanol
Practica 3 intoxicacion por metanolPractica 3 intoxicacion por metanol
Practica 3 intoxicacion por metanol
 
E Procurement Space Maturity Assessment Srm+ Ver
E Procurement Space Maturity Assessment   Srm+ VerE Procurement Space Maturity Assessment   Srm+ Ver
E Procurement Space Maturity Assessment Srm+ Ver
 
Taller de Politica 2.0
Taller de Politica 2.0Taller de Politica 2.0
Taller de Politica 2.0
 
Mujeres exploradoras
Mujeres exploradorasMujeres exploradoras
Mujeres exploradoras
 

Ähnlich wie Getting started & Hosting your website on GitHub

GIT_GITHUB_2016_06_17
GIT_GITHUB_2016_06_17GIT_GITHUB_2016_06_17
GIT_GITHUB_2016_06_17
siva ram
 
Setting up Notifications, Alerts & Webhooks with Flux v2 by Alison Dowdney
Setting up Notifications, Alerts & Webhooks with Flux v2 by Alison DowdneySetting up Notifications, Alerts & Webhooks with Flux v2 by Alison Dowdney
Setting up Notifications, Alerts & Webhooks with Flux v2 by Alison Dowdney
Weaveworks
 
introductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdfintroductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdf
BruceLee275640
 

Ähnlich wie Getting started & Hosting your website on GitHub (20)

GIT_GITHUB_2016_06_17
GIT_GITHUB_2016_06_17GIT_GITHUB_2016_06_17
GIT_GITHUB_2016_06_17
 
Crash course in git and github
Crash course in git and githubCrash course in git and github
Crash course in git and github
 
Introduction to Git and Github
Introduction to Git and GithubIntroduction to Git and Github
Introduction to Git and Github
 
GIT workshop at Selenium Conference 2018
GIT workshop at Selenium Conference 2018GIT workshop at Selenium Conference 2018
GIT workshop at Selenium Conference 2018
 
Setting up Notifications, Alerts & Webhooks with Flux v2 by Alison Dowdney
Setting up Notifications, Alerts & Webhooks with Flux v2 by Alison DowdneySetting up Notifications, Alerts & Webhooks with Flux v2 by Alison Dowdney
Setting up Notifications, Alerts & Webhooks with Flux v2 by Alison Dowdney
 
Introduction to git and Github
Introduction to git and GithubIntroduction to git and Github
Introduction to git and Github
 
Get Familiar With Git
Get Familiar With Git Get Familiar With Git
Get Familiar With Git
 
Intro. to Git and Github
Intro. to Git and GithubIntro. to Git and Github
Intro. to Git and Github
 
Git Heaven with Wakanda
Git Heaven with WakandaGit Heaven with Wakanda
Git Heaven with Wakanda
 
Helpful pre commit hooks for Python and Django
Helpful pre commit hooks for Python and DjangoHelpful pre commit hooks for Python and Django
Helpful pre commit hooks for Python and Django
 
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
 
Kubeflow Development Environment
Kubeflow Development EnvironmentKubeflow Development Environment
Kubeflow Development Environment
 
Version control
Version controlVersion control
Version control
 
GIT from n00b
GIT from n00bGIT from n00b
GIT from n00b
 
Why Git Sucks and you'll use it anyways
Why Git Sucks and you'll use it anywaysWhy Git Sucks and you'll use it anyways
Why Git Sucks and you'll use it anyways
 
introductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdfintroductiontogitandgithub-120702044048-phpapp01.pdf
introductiontogitandgithub-120702044048-phpapp01.pdf
 
Extra bit with git
Extra bit with gitExtra bit with git
Extra bit with git
 
Scaling Development Environments with Docker
Scaling Development Environments with DockerScaling Development Environments with Docker
Scaling Development Environments with Docker
 
OpenStack How To - PyLadies ATX
OpenStack How To - PyLadies ATXOpenStack How To - PyLadies ATX
OpenStack How To - PyLadies ATX
 
14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx14 oct Git & GitHub.pptx
14 oct Git & GitHub.pptx
 

Kürzlich hochgeladen

Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
Web Form Automation for Bonterra Impact Management (fka Social Solutions Apri...
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 

Getting started & Hosting your website on GitHub

Hinweis der Redaktion

  1. How many of you have seen this Logo ?? That is the GitHub mascot : Octocat
  2. Git on Mac is pre-installed. There are two easy ways to Install Git on Mac. 1. Graphical Git Installer - Link1 2. If you have macports installed (http://www.macports.org), you can install Git via the Terminal - Command
  3. Git on Mac is pre-installed. There are two easy ways to Install Git on Mac. 1. Graphical Git Installer - Link1 2. If you have macports installed (http://www.macports.org), you can install Git via the Terminal - Command
  4. If you want to install Git on Linux via a Binary Installer i.e package management tool that comes with your distribution. If you are on Fedora/CentOS use : $ yum install git-core If you are on a Debian Based distribution like Ubuntu : $ sudo apt-get install git
  5. Installing Git on Windows is Easy. Download the installer .exe file from the GitHub page and then run it. After its installed you have both the command line version and the GUI version
  6. Installing Git on Windows is Easy. Download the installer .exe file from the GitHub page and then run it. After its installed you have both the command line version and the GUI version
  7. Installing Git on Windows is Easy. Download the installer .exe file from the GitHub page and then run it. After its installed you have both the command line version and the GUI version
  8. Installing Git on Windows is Easy. Download the installer .exe file from the GitHub page and then run it. After its installed you have both the command line version and the GUI version
  9. Now that you have Git in your system, let’s customize the environment. Git comes with a tool called Git Config, that helps you customize configuration variables. Your Identity : First thing you should do when you install git is set your username and e-mail address. This is important because every Git Commit uses this information. You need to do this only once to Set Everything up. You can set your default text editor such as Vim Emacs Gedit etc (if you want) $ git config --global core.editor emacs
  10. Installing Git on Windows is Easy. Download the installer .exe file from the GitHub page and then run it. After its installed you have both the command line version and the GUI version