![]() ![]() git directory under your project folder under. Initialized empty Git repository in /home/admin/projects/gitproject/.git/ First, cd to that directory, and execute git init as shown below. For example, if your project is located under /home/admin/projects/gitproject, you can make that as your GIT project. You can make any of your local directory as a GIT project (i.e repository). ![]() gitconfig file under your home directory. User.name=GIT information is stored in the. Git config –global user.email the git configuration information as shown below. Once verified, now we need to specify your username and email address to your GIT repository using “git config” as shown below. Once you’ve installed GIT, verify it as shown below. Git is installed by default under /usr/bin/git. We can install GIT using yum in RedHat/centOS and apt-get in debian. In addition to being distributed, Git has been designed with performance, security and flexibility in mind. 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. Having a distributed architecture, Git is an example of a DVCS (hence Distributed Version Control System). Developers who have worked with Git are well represented in the pool of available software development talent and it works well on a wide range of operating systems and IDEs (Integrated Development Environments). A staggering number of software projects rely on Git for version control, including commercial projects as well as 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. By far, the most widely used modern version control system in the world today is Git.
0 Comments
Leave a Reply. |