GIT-and-GITHUB
GIT-and-GITHUB
System GIT
JANUARY 01
GIT
Version Control System
Git is a distributed version-control system for tracking changes in any set of files,
originally designed for coordinating work among programmers cooperating on source
code during software development.
Benefit:
Benefit:
Drawback:
This is the version control system in which we can create a central data base on
server and multiple users can access that version control system. But while
access (Pull & Push) version control system it only pulls the latest version of
software and changes. And in case if user loss their data they will fetch it from
server but is server is damage entire data or software are vanished.
Server USERS
This is the version control system in which we can pull/push the data
from the server. But in this when we are going to pull the any repository it pull entire
source code of the repository (pull entire repository). So, if the global repository will
not work or damage. We can easily recover the entire data and if some time server is
damage, we can also configure and restore the backup easily.
GIT
This is the distributed version control system. By using this we can manage the
version change history. In general word we can say that it track the version change.
Benefit:
Easily Recover File
Who Introduce Issue and when
Roll-back to previous working stat
Features:
Snapshot capture not difference
Almost every operation is local
Git has integrity {Show the checksum via tool to check the actual data}
Git generally only add data
Installation of GIT
Installation on Windows
Click on Download
and Download the
exe setup file
After .exe download, we can follow the normal app installation file
process on windows. After installation we can get two things
To check Git is installed or not we can just check the Git version by using
below command.
#git –version
Git Command: -
To make a directory as a working directory of git
#git init
Git Logs:-
To check the commit, we can check the git logs.
#git log
To merge branch
#git merge BranchName
To delete branch
#git -d BranchName
#git -D BranchName
To Delete branch from remote repository
#git -d origin BranchName
For output of test command on linux terminal follow the below git repository
For any other Help follow the official Git website : Git
Thank You..