getting started & hosting your website on github

Post on 12-Jul-2015

150 Views

Category:

Technology

4 Downloads

Preview:

Click to see full reader

TRANSCRIPT

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 SetupYour 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

top related