To commit the files to the repository creating your first revision, type the following:.Now, after we have our new repository, let’s add all the files in the /etc/ directory under version control:.Now, let’s create a new repository in the /etc directory:. ![]() Git config -global user.name "your_username" Git config -global user.email "your_email_address" To begin, log in as root, install Git, and configure it by providing an email address and username (please substitute your_username and your_email_address with real names):.Here in this process, we will put the complete main Linux configuration directory, /etc/, under version control of a Git repository to keep track of all our changes to configuration files: To complete this process, you will require a working installation of the CentOS 7 operating system with root privileges, and a connection to the Internet in order to facilitate the download of additional packages. In this process, we will show you how to use modern version control systems such as GIT and Subversion to manage the versioning of config files. ![]() These systems get more and more important these days as modern work often connects people from around the globe to collaborate and work together on all kinds of documents (for example, software source code) making it important to manage the file changes by different people using revisions. Document revision control systems or version control systems, as they are sometimes called, are used for the management of changes to documents.
0 Comments
Leave a Reply. |