Git (Version Control System)
Git Version Control System
Version Control System (VCS) have seen great improvements over the past few decades and some are better than others. VCS are sometimes known as SCM (Source Code Management) tools or RCS (Revision Control System). One of the most popular VCS tools in use today is called Git.
Like many of the most popular VCS systems available today, Git is free and open source. Git is a mature, actively maintained open source project originally developed in 2005 by Linus Torvalds, the famous creator of the Linux operating system kernel.
Git is a Distributed Version Control System, a category known as DVCS. Rather than have only one single place for the full version history of the software as is common in once-popular version control systems like CVS or Subversion (also known as SVN), in Git, every developer's working copy of the code is also a repository that can contain the full history of all changes.
Some frequently used commands for Git Hub :
1. git config :- It is a convenient way to set configuration options for git installation. This command is typically needed to use immediately after installing Git on a new development machine.
2. git init :- This command It is the first command we need to use revision control for our project. It create a new local repository.
3. git status :- To Show the state of your working directory and the staged snapshot. You can run this in conjunction with git add and git commit to see exactly what is being included in the next snapshot.
4. git add :- Move changes from working directory to the staging area. It gives the opportunity to prepare a snapshot before committing the changes.
5. git commit :- Takes the staged snapshot and commits it to the project history. This command is used after git add to commit the changes.
6. git clone :- It will create a local copy of the existing repository. The original repository can be located on the local filesystem or on remote machine.
Configure the author name and email address to be used with your commits.
git config --global user.name "username"
git config --global user.email
Comments
Post a Comment