Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.
Presenter:
Hita Barasm Mamagani
In The Name of God
What is Git?
Git is a version control system for tracking
changes in computer files and coordinating work
on those files a...
Version Control System
CentralizedDistributed
Centralized
Distributed
Centralized vs Distributed
Why Git?
• Working offline
• Fast to Work With
• Repositories Are Smaller
• Moving or Adding files
• Ignore Certain Files
...
Disadvantages of Git
• Steep learning curve
Many commands with many options, some
commands are non-intuitive and need a
le...
Git Online Storage Providers
• GitHub
• GitLab
• GitKraken
• …
How Git works?
Git Commands
• init //create a local git repository
• commit //records a snapshot of staging area into repo
• pull //fetch...
Creating New Repository
Example on GitLab
Working on Existing Repo
Fetched Repo Example
Fork A Repository
• A fork is a copy of a repository. Forking a
repository allows you to freely experiment
with changes wi...
Project Management
Tools provided for project management by GitHub:
Prochain SlideShare
Chargement dans…5
×

sur

Git Introduction Slide 1 Git Introduction Slide 2 Git Introduction Slide 3 Git Introduction Slide 4 Git Introduction Slide 5 Git Introduction Slide 6 Git Introduction Slide 7 Git Introduction Slide 8 Git Introduction Slide 9 Git Introduction Slide 10 Git Introduction Slide 11 Git Introduction Slide 12 Git Introduction Slide 13 Git Introduction Slide 14 Git Introduction Slide 15
Prochain SlideShare
What to Upload to SlideShare
Suivant
Télécharger pour lire hors ligne et voir en mode plein écran

0 j’aime

Partager

Télécharger pour lire hors ligne

Git Introduction

Télécharger pour lire hors ligne

An introduction to git, a distributed version control system for tracking changes in source code.

Livres associés

Gratuit avec un essai de 30 jours de Scribd

Tout voir
  • Soyez le premier à aimer ceci

Git Introduction

  1. 1. Presenter: Hita Barasm Mamagani In The Name of God
  2. 2. What is Git? Git is a version control system for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for source code management in software development, but it can be used to keep track of changes in any set of files. As a distributed revision control system it is aimed at speed, data integrity, and support for distributed, non-linear workflows.
  3. 3. Version Control System CentralizedDistributed
  4. 4. Centralized Distributed Centralized vs Distributed
  5. 5. Why Git? • Working offline • Fast to Work With • Repositories Are Smaller • Moving or Adding files • Ignore Certain Files • Branches • Check the Status of Your Changes • Stash Branches • Find version that introduced a bug using Binary Search • …
  6. 6. Disadvantages of Git • Steep learning curve Many commands with many options, some commands are non-intuitive and need a level of understanding the internals of git. • Slow on binary files If your project has non-text files that are updated frequently, then git becomes bloated and slow.
  7. 7. Git Online Storage Providers • GitHub • GitLab • GitKraken • …
  8. 8. How Git works?
  9. 9. Git Commands • init //create a local git repository • commit //records a snapshot of staging area into repo • pull //fetch from a remote repo and try to merge into the current branch • push //push your new branches and data to a remote repository • checkout //Switch branches or restore working tree files • status //view the status of your files in the working directory and staging area • diff //shows diff of what is staged and what is modified but unstaged
  10. 10. Creating New Repository
  11. 11. Example on GitLab
  12. 12. Working on Existing Repo
  13. 13. Fetched Repo Example
  14. 14. Fork A Repository • A fork is a copy of a repository. Forking a repository allows you to freely experiment with changes without affecting the original project. • Most commonly, forks are used to either propose changes to someone else's project or to use someone else's project as a starting point for your own idea.
  15. 15. Project Management Tools provided for project management by GitHub:

An introduction to git, a distributed version control system for tracking changes in source code.

Vues

Nombre de vues

26

Sur Slideshare

0

À partir des intégrations

0

Nombre d'intégrations

0

Actions

Téléchargements

0

Partages

0

Commentaires

0

Mentions J'aime

0

×