+ All Categories
Home > Technology > The Git Basics

The Git Basics

Date post: 15-Jul-2015
Category:
Upload: netguru
View: 212 times
Download: 2 times
Share this document with a friend
Popular Tags:
16
The Git Basics brought by Blaze Hadzik and
Transcript

The Git Basicsbrought by Blaze Hadzik and

Version control is an essential tool if you want to be successful in today's web & software world.

2

How does it work?

3

Project Flow

4

Version Control Concept

Version Control

5

Particular Change

24/02/01

“Add New Button”

John Wozniak

6

Restore changes anytime

24/02/01 - restore

7

Idea Of Branches

Rails upgrade

New Layout Database Switch

MASTER

8

Collaborating

index.html.erb show.html.erb

9

How to start with it?

10

11

Init a repository

git init

12

… or clone existing one.

git clone git://git.kernel.org/pub/scm/.../linux.git

13

Do some changes

git commit -am ‘Add New Menu’

14

Add origin

git remote add origin https://github.com/user/repo.git

15

Push your code

git push

Thanks

16


Recommended