Git – Version Control System

Course Objective

T
hrough this course, you will learn:

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. As a distributed revision control system it is aimed at speed, data integrity, and support for distributed, non-linear workflows.

Delivery Method:

  • Instructor
  • Hands on Lab

Duration of Boot Camp:

  • 2 day

                  

Introduction

  • Introduction
  • What is Git?

Installing Git

  • Installing Git on Linux
  • Configuring Git
  • Using Git help

Getting Started

  • Initializing a repository
  • Understanding where Git files are stored
  • Performing your first commit
  • Writing commit messages
  • Viewing the commit log

Making Changes to Files

  • Adding files
  • Editing files
  • Viewing changes with diff
  • Viewing only staged changes
  • Deleting files
  • Moving and renaming files

Ignoring Files

  • Using .gitignore files
  • Understanding what to ignore
  • Ignoring files globally
  • Ignoring tracked files
  • Tracking empty directories

Branching

  • Branching overview
  • Viewing and creating branches
  • Switching branches
  • Creating and switching branches
  • Switching branches with uncommitted changes
  • Comparing branches
  • Renaming branches
  • Deleting branches

Remotes

  • Using local and remote repositories
  • Setting up a GitHub account
  • Adding a remote repository
  • Creating a remote branch
  • Cloning a remote repository
  • Tracking remote branches
  • Pushing changes to a remote repository
  • Fetching changes from a remote repository
  • Merging in fetched changes
  • Checking out remote branches
  • Pushing to an updated remote branch
  • Deleting a remote branch
All Rights Reserved © 2018 DevOps TechLab
× Whatsapp Now