Cédric

soheib.boudali29@gmail.com

https://github.com/SoheibBoudali

How to work as a team with cohesion and effectiveness?

LOCAL VCS

GIT

Let's start with basics 

Essential Git Commands

  • Git help 
  • Start a new repository
  • Clone an existing project
  • Add changes or new files
  • Commit changes 
  • Inspecting repository

Branching Management

Git branching model

  • Create a new branch
  • Switch to another branch
  • Create a new branch  and switch to it
  • Current branch 
  • Delete an branch

Merging branches

  • Switch to your working branch
  • Merge your branch

Ignoring Files

Ignoring Files

  • Create a .gitignore file in the your root directory
  • Add the names of the files you want to ignore

ONLINE VCS

Github,Gitlab,...

Working on a remote server

  • Connect local repository to a remote server
  • Push changes to a remote server


Working  as a team in the same repository

  • Create a repository (project manager)
  • Fork the repository (team)
  • Clone the repository to the local  
  • Create a new branch

                          (Making changes)

  • Push the new branch 
  • Send a Pull request
  • Resolve conflicts
  • Pull the project 

Questions !!

https://openclassrooms.com/fr/courses/2342361-gerez-votre-code-avec-git-et-github

https://git-scm.com/doc

Documentation

GO AHEAD

Made with Slides.com