Git & github

Post on 05-Apr-2017

97 views 1 download

transcript

Git & Github

Git

Why Git ?

Git is an open source, distributed version controlsystem designed for speed and efficiency

What is Git?

Git is distributed?

Install Git for (windows) https://git-scm.com/download/win

Install Git for (linux)

sudo apt-get install git Yum install git

First Steps

Git configuration

git config --global user.name “mo7amed-3bdalla7” git config --global user.email “mo7amed.3bdalla7@gmail.com”

git init

git status

git add fileName

git commit –m “commit description”

git diff

Files from git point of view

Untracked Modified committed

git log

git diff 3854 657d

Github

What is Github?

git remote add origin https://github.com/mo7amed-3bdalla7/developer-cafe.git git push –u origin master

git clone https://github.com/mo7amed-3bdalla7/developer-cafe.git

README File

Questions?

THANKS