◎ Complete Git training ◎

➲ Section 1 : Git Discovery

⁂ GIT - 1.2 Welcome to the course (2)

➔ Second introductory video on Git.

⁂ GIT - 2 What is Git ?

➔ We will see what Git consists of in this video.

➲ Section 2 : Understand its proper functioning

⁂ GIT - 3 Repository

➔ A Git benchmark is a data structure containing the structure, history and files of a project.

⁂ GIT - 4 Commits and files

➔ The COMMIT will allow you to record the changes in the deposit.

➲ Section 3 : Basic Git commands

⁂ GIT - 5 The different stages of git

➔ In order to ensure proper functioning, it is essential to respect the Git use protocol. We will see these different stages together.

⁂ GIT - 6 First commit

➔ We will be able to carry out our first Commit Suites in the previous steps that we have carried out.

⁂ GIT - 7 Repository et dossier git

➔ A Git repository follows and records the history of all the changes to files in a Git project.He records this data in a directory called.Git, also known as the file of repository.

⁂ GIT - 8 Start with an existing project

➔ We will see how to create a new restitory git, despite there is already an existing project.

⁂ GIT - 9 Commits and messages

➔ In this video, we will see a shortcut command which immediately creates a commit with a message from Commit transmitted.By default, "Git Commit" opens the text editor configured locally and invites you to enter a Commit message. When you send the "-M" option, you give up the text editor promotion for the benefit of a contextual message.

⁂ GIT - 10 Commit tailes with log and show

➔ Git's log is a great tool for analyzing the history of the commits and re -situating a context. It allows us to follow a project as a whole as in detail.As for Git Show, it is a command line utility used to display additional details on Git objects, such as blobs, Arborescences, tags and commits.

⁂ GIT - 11 Express Commits

➔ In this video we will edit an existing file by Git, in order to be able to track it down.

⁂ GIT - 12 Cancellation of modifications

➔ In this video, we will see how we can cancel a modification made, It may happen to you, it happens to me from time to time as well.But don't panic, there are A simple and effective solution to remedy this.

⁂ GIT - 13 History and creation of new orders with alias

➔ It is well known: we developers, we are quite pretending.We don't like tasks Who are limited to copy and paste, we always want to optimize and simplify.We like to do shortcuts, type less characters to launch this or that command.In this context, I suggest you discover alias for Git commands.

⁂ GIT - 14 Rename and delete files

➔ Using the Git version management system, if you have created local files and that they are not yet inspected, it is possible to delete them all using an order, And that's what we're going to see in this video.

⁂ GIT - 15 Manage files outside of Git

➔ Often, when you have worked on part of your project, things are in an unstable state but you Want to change your branch to work temporarily on something else.The problem is that you don't want to validate a job Half done only to be able to come back later.We will therefore respond to this problem in this video.

⁂ GIT - 16 Exclusion of unwanted files

➔ Git allows you to specify the files to ignore in different ways. So we will see together the necessary orders to be made in this video.

➲ Section 4 : Management of branches and conflicts

⁂ GIT - 17 Comparison of differences

➔ In this video, we will see how to view the changes or differences between your work copy, That is to say the files on which you work in the main files, and the repository.

⁂ GIT - 18 The different types of branches and merges

➔ There are two main types of git merges: fast-forward and three branches. Git can automatically merger the commits, unless changes come into conflict in The two sequences of Commit.

⁂ GIT - 19 Special markers

HEAD is the special marker indicating the last commit from the current branch.

⁂ GIT - 20 Simple branch examples

In this video, we will create and manage branches other than the master in the Restitory git, so I invite you to follow this video in order to fully understand the process.

⁂ GIT - 21 Conflict resolution

Conflicts generally occur when two people have changed the same lines in a file, Or if a developer has deleted a file while another developer changed it.In such cases, Git cannot automatically determine the correct version.Conflicts only affect the developer Who performs the merge, the other members of the team are not aware of the conflict.Git will mark the File as being conflict and will stop the Merge process.It is then up to developers to solve the dispute.

⁂ GIT - 22 Marking of special events with tags

Like most VCS, Git gives the opportunity to label a certain state in history and important. Generally, people use this feature to mark publication states.In this video, We will learn how to list the different labels (tags in English), how to create new labels And the different types of labels.

⁂ GIT - 23 Safeguarding of the work in progress with storage

We will see together in this video, backup management when we work on a project in progress with our storage.

⁂ GIT - 24 Time travel with reset and reflog

In this video, we will see how we can transmit the reflog reflog to Git Reset, Then reset the condition of a commit before the rebase.Execution of this reset command will move Head to the Commit where "certain WIP changes" has been added, mainly restaurant The other squashes commits.

👍 Good to know :

💻 We are in April 2005 and Linus Torvald works a lot on his project: Linux. He has been working on it since 1991 and you imagine: the project is enormous. There is a lot of code, not to say much, especially since there are even more people working on this code. To manage all this disorder, Linus was Part on the Bitkeeper Version Management System. The problem with Bitkeeper is that it is first of all a proprietary software. Already, it annoys part of the open source community around Linux. In addition, the version Free comes with very painful constraints. As if that was enough, overnight, the free version of Bitkeeper is withdrawn. Immediately, Linux Torvald decides to code his own versionning system. Git's flash development was about to start. April 3, 2005 Linus began to work on Git. On April 6, 2005 he sent an email where he announced that he is working on a replacement solution. On April 18, 2005, the first mergests of branches work! On April 29, 2005, Git began to be used in parts of Linux. June 16, 2005 Git managed Completely version 2.6.12 of Linux.