Git

What is git?

the stupid content tracker
-linus

Source: git source code

What is git?

version control system

history

collaborate

repositories
creating commits
management of commits

repositories

creating commits

a commit has...

actions

metadata

actions can be...

create a file

modify a file

delete a file

metadata includes...

author info

creation timestamp

other

management of commits

make your life easy

aliases and themes

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

...

Git Concepts

By Mohammad Umair Khan

Git Concepts

  • 361