Docsity

Git and GitHub: A Comprehensive Guide for Students, Essays (university) of Digital Electronics

Partial preview of the text

Download Git and GitHub: A Comprehensive Guide for Students and more Essays (university) Digital Electronics in PDF only on Docsity!

Git & GitHub

isuruAb

isuruAb

GitHub Campus Expert

GSoC Student 2017

GCI and GSoC Mentor 2018

Information Systems Undergraduate

Sabaragamuwa University of

Sri Lanka

Isuru

Abeywardana

What is Version Control

System?

Centralized Version Control System

Why we use GIT

Remote

Local

Remote

Local

Changes

Staged

Committed

Changes

Staged

Committed

git commit

git add

Remote

Local

git clone

Remote Local clone

add commit push

pull

git clone https://github.com/isuruAb/git-expert.git

Scan me

Scenario 02

Make a new Repository

Take a repository to the local

for the first time

Make some changes

Push those changes to remote

Scenario 03

Push your existing project to

Github

git init

git remote add origin https://github.com/isuruAb

/git-expert.git

git add.

git commit -m “commit message”

git push origin master