Git

Who Am I?

Ali Yousuf

Lead Software Engineer @ 10Pearls

What is git?

the stupid content tracker
-linus

Source: git source code

What is git?

version control system

history

collaborate

commit

record a change

branch / tag

pointer to commit

head / HEAD

pointer to commit

tracked / untracked

is git looking or not

staged / unstaged

is going to commit or not

Lifecycle

repository

contains the whole thing

local / remote

copy of a repository

make your life easy

use alias

create your own

git commit --amend      git amend

git status -s           git ss

git log --oneline       git ll

use zsh / fish themes

branching strategies

#1

develop

staging

master

                 master

        staging

develop

#2

only master

depends on tags

master

v1.0

#3

git flow

...

Git Basics and Branching Model

By Ali Yousuf

Git Basics and Branching Model

  • 383