Book Image

Learn Git in 3 Hours [Video]

By : Jose Salvatierra Fuentes
Book Image

Learn Git in 3 Hours [Video]

By: Jose Salvatierra Fuentes

Overview of this book

Git Version Control Systems (VCS) changes your approach to modern software engineering. Using Git, you can easily track the history of file and code changes, deliver new versions of software without relying on any continuous delivery mechanisms, and protect your code from any mistakes made while programming. In this course, we’ll teach you the basics of using Git and explain how it works. To begin with, we’ll show you how to install Git and effectively use your computer’s terminal or command line to navigate the file system, and create and edit files. Then we’ll cover all the commonly used commands in Git that make up the vast majority of any Software Engineer’s workflow. Moving on, we’ll explain Git’s branching workflow, why it’s such a useful feature, and how to use it in your projects. Once you’ve learned all this, we’ll discuss some advanced Git workflow techniques that will make you a valued contributor and collaborator on any project. You’ll be able to create your own Git repositories, or clone and contribute to existing ones. This will allow you to track the changes to sets of files over time, recover data you might lose, and collaborate with others on projects. You’ll have a profound understanding of Git’s branching workflow, and how to use it in the best possible way in your projects. By the end, you’ll be familiar with using Git and use VCS to handle large projects easily and make well-crafted contributions to your own or others’ projects.
Table of Contents (4 chapters)
Chapter 2
Learning the Basics of Git
Content Locked
Section 4
Committing Your Changes
Once changes have been made in the repository, we will want to save those changes. To do this, we use the Git commit command. - Make and view your changes using Git diff - Save those changes to the repository using Git commit - Provide a useful message to the commit