Protect yourself from others and others from yourself

 

Git

 

 

Git is for collaboration

 

 

You have a project

 

 

you want to collaborate on

 

 

You add a window

 

 

     You

 

 

Eva adds a chimney

 

 

     Eva

 

 

Eva and you put your work together

 

 

     Eva

 

 

     You

 

 

But now Bob adds a door

 

 

     Bob

 

 

Your work is conflictual

 

 

     Bob

 

 

     You

 

 

But you can choose to resolve it

 

 

     Bob

 

 

     You

 

Protect yourself from others and others from yourself

 

Git is not an auto-save solution

 

Because in Git,
a modification is described before being shared

 

Git stages

 

 

Untracked

 

 

Unmodified

 

 

Modified

 

 

staged

 

 

Git stages

 

 

Untracked

 

 

Unmodified

 

 

Modified

 

 

staged

 

 

Add the file

 

 

Git stages

 

 

Untracked

 

 

Unmodified

 

 

Modified

 

 

staged

 

 

Add the file

 

 

Edit the file

 

 

Git stages

 

 

Untracked

 

 

Unmodified

 

 

Modified

 

 

staged

 

 

Add the file

 

 

Edit the file

 

 

Stage the file

 

 

Git stages

 

 

Untracked

 

 

Unmodified

 

 

Modified

 

 

staged

 

 

Add the file

 

 

Edit the file

 

 

Stage the file

 

 

Commit

 

 

Git stages

 

 

Untracked

 

 

Unmodified

 

 

Modified

 

 

staged

 

 

Add the file

 

 

Edit the file

 

 

Stage the file

 

 

Commit

 

 

Remove the file

 

OpenAPI

By Lucas Vogel

OpenAPI

Slides for the Git part of the Open API workshop given by Lucas Vogel and Julia Freyhoff

  • 225