1 / 80

Git Tutorial | Git Tutorial For Beginners | Git Basics For Beginners | Git Training | Simplilearn

This presentation on the Git tutorial will help you understand everything essential to learn regarding Git. The video will introduce to the basics of Git, and some of its basic commands. The tutorial will help you understand some basic Git operations and some advanced operations. Then we shall see the basics of GitHub and the features of the same. Towards the end, we shall see a hands-on demo showing Git's work and the relationship between Git and GitHub. <br><br>The topics covered in the video are:<br>1.what is Git ?<br>2.Basic Git commands<br>3.Basic Git Operations<br>4.Advance Git Operations<br>5.What is GitHub ?<br>6.Features of GitHub<br>7.Demo<br><br>Whatu2019s the focus of this course?<br>Git is a version control system (VCS) for tracking changes in computer files and coordinating work on those files among multiple people. It is primarily used for software development, but it can be used to keep track of changes in any files.This course enables you to learn and solve versioning problems with your files and codes. All these concepts are presented in an easy to understand manner, using demos and assignments to clarify the concepts and present the actual method of implementation.<br><br>What are the course objectives?<br>- Git course offered by Simplilearn will enable you to:<br>- Understand distributed version control system and its features<br>- Set-up Git in your system<br>- List the three-stage workflow in Git<br>- Create branches and track files<br>- Create a repository in Git and GitHub<br>- Describe merging, cloning, rebasing, among others<br><br>Who should take this course?<br>- The following professionals can go for this course:<br>- Software Professionals<br>- Testing Professionals<br>- Software Architects and Designers<br>- Open source contributors and enthusiasts<br>- Developers who want to gain acceleration in their careers as professionals using Git and GitHub<br>- Managers who are technical subject matter experts, leading software development projects<br><br>ud83dudc49Learn more at: https://www.simplilearn.com/cloud-com...

Simplilearn
Télécharger la présentation

Git Tutorial | Git Tutorial For Beginners | Git Basics For Beginners | Git Training | Simplilearn

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Use case Let’s say there’s a multinational company, that has offices spread over several nations with thousands of employees

  2. What problems can a huge company like this face?

  3. Click here to watch the video

  4. What problems can a huge company like this face? Collaboration: Many people and different locations

  5. What problems can a huge company like this face? Collaboration: Many people and different locations Storing version: One project has many versions

  6. What problems can a huge company like this face? Collaboration: Many people and different locations Storing version: One project has many versions Restoring previous versions: Sometimes you may need the older versions

  7. What problems can a huge company like this face? Collaboration: Many people and different locations Storing version: One project has many versions Restoring previous versions: Sometimes you may need the older versions Figuring out what happened: Where exactly has the changes been made in a file

  8. What problems can a huge company like this face? Collaboration: Many people and different locations Storing version: One project has many versions Restoring previous versions: Sometimes you may need the older versions Figuring out what happened: Where exactly has the changes been made in a file Backup: In case someone’s disk breaks down

  9. What could be the possible solution to all these problems?

  10. What could be the possible solution to all these problems? All these problems can be solved with the help of a “Version Control System”

  11. What is a Version Control System?

  12. What Is a Version Control System? Server Repository update update commit update commit commit Working copy Working copy Working copy Workstation 1 Workstation 2 Workstation 3

  13. What Is a Version Control System? Server Repository • A Version Control System is a system that records all the changes made to a file or set of files, so a specific version may be called later if needed • The system makes sure that all the team members are working on the latest version of the file, and all these people can work simultaneously on the same project update update commit update commit commit Working copy Working copy Working copy Workstation 1 Workstation 2 Workstation 3

  14. What Is a Version Control System? Server Repository • A Version Control System is a system that records all the changes made to a file or set of files, so a specific version may be called later if needed • The system makes sure that all the team members are working on the latest version of the file, and all these people can work simultaneously on the same project update update commit update commit commit Working copy Working copy Working copy Workstation 1 Workstation 2 Workstation 3

  15. What is Git?

  16. What Is Git?

  17. What Is Git? • Git is a version control system for tracking changes in computer files. It is used for coordinating work among several people on a project and tracking progress over time • The main work of Git is to manage projects, or a set of them when changes are made over time

  18. What Is Git? • Git is a version control system for tracking changes in computer files. It is used for coordinating work among several people on a project and tracking progress over time • The main work of Git is to manage projects, or a set of them when changes are made over time

  19. What Is Git? • Git helps both programming professionals and non-technical users by monitoring their project files • It allows multiple users to work together • Large projects can be handled efficiently

  20. What Is Git? • Git helps both programming professionals and non-technical users by monitoring their project files • It helps in coordinating work among several people on a project and tracking progress over time

  21. What Is Git? • Git helps both programming professionals and non-technical users by monitoring their project files • It helps in coordinating work among several people on a project and tracking progress over time A Git repository is a place where all the files related to the project are stored. There are two types of Git repositories: Local repository: Git local repository is the one in which the local changes are made and is in our computer Remote repository: Git remote repository is the one that is present outside our local system, in a remote server

  22. What Is Git? • Git helps both programming professionals and non-technical users by monitoring their project files • It helps in coordinating work among several people on a project and tracking progress over time A Git repository is a place where all the files related to the project are stored. There are two types of Git repositories: Local repository: Git local repository is the one in which the local changes are made and is in our computer Remote repository: Git remote repository is the one that is present outside our local system, in a remote server

  23. What Is Git? • Git helps both programming professionals and non-technical users by monitoring their project files • It helps in coordinating work among several people on a project and tracking progress over time A Git repository is a place where all the files related to the project are stored. There are two types of Git repositories: Local repository: Git local repository is the one in which the local changes are made and is in our computer Remote repository: Git remote repository is the one that is present outside our local system, in a remote server

  24. Basic Git Commands

  25. Basic Git Commands

  26. Basic Git Commands Git config Configure the username and email address

  27. Basic Git Commands Git config Configure the username and email address Git init Initialize an empty Git repository

  28. Basic Git Commands Git config Configure the username and email address Git init Initialize an empty Git repository Git add Add the content to the staging area

  29. Basic Git Commands Git config Configure the username and email address Git init Initialize an empty Git repository Git add Add the content to the staging area View the changes made to the file Git diff

  30. Basic Git Commands Git config Configure the username and email address Git init Initialize an empty Git repository Git add Add the content to the staging area View the changes made to the file Git diff Git commit Makes sure that the changes are saved to the local repository

  31. Basic Git Commands Git reset Undo local changes to the state of a Git repo

  32. Basic Git Commands Git reset Undo local changes to the state of a Git repo Git status Displays the state of the working directory and staging area

  33. Basic Git Commands Git reset Undo local changes to the state of a Git repo Git status Displays the state of the working directory and staging area Git merge Merge a branch into an active branch

  34. Basic Git Commands Git reset Undo local changes to the state of a Git repo Git status Displays the state of the working directory and staging area Git merge Merge a branch into an active branch Git push Upload content from local repository to a remote repository

  35. Basic Git Commands Git reset Undo local changes to the state of a Git repo Git status Displays the state of the working directory and staging area Git merge Merge a branch into an active branch Git push Upload content from local repository to a remote repository Git pull Fetch and merge changes from the remote repository

  36. Basic Git Operations

  37. Basic Git Operations

  38. Basic Git Operations Initialize Add Push Pull Commit

  39. Basic Git Operations Initialize • The command “git init” is used to create an empty Git repository • After the git init command is used a .git folder is created in the directory with some sub directories in it • After the repository is initialized the process of creating other files begin Add Push Pull Commit

  40. Basic Git Operations Initialize • The command “git init” is used to create an empty Git repository • After the git init command is used a .git folder is created in the directory with some sub directories in it • After the repository is initialized the process of creating other files begin Add Push Pull Commit

  41. Basic Git Operations Initialize • The command “git init” is used to create an empty Git repository • After the git init command is used a .git folder is created in the directory with some sub directories in it • After the repository is initialized the process of creating other files begin Add Push Pull Commit

  42. Basic Git Operations Initialize • The commandgit initis used to create an empty Git repository • After the git init command is used a .git folder is created in the directory with some sub directories in it • After the repository is initialized the process of creating other files begin Add Push Pull Commit

  43. Basic Git Operations Initialize • After checking the status of the files, add command is used to add the content to the staging area • Before running the commit command, “git add” is used to add any new or modified files Add Push Pull Commit

  44. Basic Git Operations Initialize • After checking the status of the files, add command is used to add the content to the staging area • Before running the commit command, “git add” is used to add any new or modified files Add Push Pull Commit

  45. Basic Git Operations Initialize • After checking the status of the files, add command is used to add the content to the staging area • Before running the commit command, git add is used to add any new or modified files Add Push Pull Commit

  46. Basic Git Operations Initialize • The commit command makes sure that the changes are saved to the local repository • The command “git commit –m <message>” enables you to provide a description so that everyone else understands what has happened Add Push Pull Commit

  47. Basic Git Operations Initialize • The commit command makes sure that the changes are saved to the local repository • The command “git commit –m <message>” enables you to provide a description so that everyone else understands what has happened Add Push Pull Commit

  48. Basic Git Operations Initialize • After checking the status of the files, add command is used to add the content to the staging area • Before running the commit command, git add is used to add any new or modified files Add Push Pull Commit

  49. Basic Git Operations Initialize • Git pull is used to fetch and merge changes from the remote repository to the local repository • The command “git pull origin master” copies all the files from the master branch of the remote repository to the local repository Add Push Pull Commit

More Related