Hướng dẫn intellipaat cheat sheet
Git User HandbookThe Git cheat sheet presented in this DevOps tutorial is designed for those who have an interest in learning file management using Git as a tool. This cheat sheet will be a handy reference not only when you learn Git but when you start working with it too. Don’t worry if you are a beginner and have no idea about how Git works. Intellipaat’s Git cheat sheet will give you a quick reference to the basics that you must know. Show
What is Git?Git is a DevOps tool that is used as a version-control system for tracking the changes happening in system files and coordinating the work on those files among a group of people. In the software development field, Git is used in source code management and for tracking the changes made in any file.
Watch this Git Tutorial for Beginners video:
Process FlowIt shows the process flow with components used to perform certain tasks:
Be ready for the industry by going through these Top DevOps Interview Questions and Answers! Version ControlVersion control is the management of changes made to the code, documents, programs, large sites, and other information. The changes are termed as versions. A version control system (VCS) is used to perform the following:
There are two types of version control systems:
Our DevOps tool, Git falls under the category of distributed VCS. Life CycleBecome a master of DevOps by enrolling in this online DevOps Training in London! Get 100% Hike! Master Most in Demand Skills Now ! Git and GitHubGit is a VCS that supports distributed nonlinear workflows by providing data assurance for developing quality software. Its features are as follows:
For more information, visit the Git vs Github blog by Intellipaat. Git Operations and CommandsGit Configuration
$git config -- global user.name”firstname lastname” $git config -- global user.email” [email protected]” $git config -- global color.ui true (enables code highlights) $git config --list Initializing Git
$git init
$git status Adding and Removing Files
$git add
$git add
$git add --all ( use -A instead of -all too )
$git rm -r Committing Changes
$git commit -m “body_of_message”
$git commit --amend -m “new_message” Learn DevOps from Intellipaat’s DevOps Training in Sydney to boost your career! Pushing and PullingHere, a remote repository typically represents a remote server or a Git server.
https://github.com/YourUsername/appname.git
$git remote add origin
$git push -u origin master
$git clone Branching and MergingFollowing are the branching and merging commands for GIT :
Learn more about the basic commands in this Git Tutorial by Intellipaat. Sharing and Updating Projects
Interested in grabbing an industry-recognized DevOps certification? Intellipaat’s DevOps Course in Bangalore is just designed for you! Inspection and Comparison
Intellipaat’s comprehensive DevOps Training would help you be a certified DevOps Engineer! |