In fact, architectures like arm maintain their own Git repository. The Linux kernel has multiple Git repositories online. Let’s concentrate on setting up your Linux kernel repository using Git. For more options, refer to th man page with man git-config. System-wide changes can also be performed if the -system tag is used. This will save the options in the config in the. If you need to manipulate a specific repository’s settings, instead of the global options, you need to cd into the repository directory, and issue the above commands without the -global switch. $ git config -global user.email -global option saves these options in the user’s home directory, in the file ~/.gitconfig. The following examples are the most common options you need to set before you perform a code commit: $ git config -global user.name "Surya Prabhakar" The git config command is used to set the Git repository options. Once installed, Git can be used as a regular user, and does not need super-user privileges. If you are using Ubuntu, you can simply issue the command sudo apt-get install git-core. You need to have Git downloaded and installed on the host machine (I am using Ubuntu Maverick). The major advantage of Git is that it need not be connected to a server for committing code. Linus has a special need for high-performance software, due to the volume of kernel patches he handles, and Git was the answer. He was the initial author of the software, and later it was passed to Junio Hamano. ![]() Later, when BitKeeper stopped being free, Linus Torvalds came up with the idea of Git (Global information tracker). Earlier, Linux kernel development used a free version of a proprietary software called BitKeeper. ![]() Its fundamental design goal was “high performance”. ![]() Git is a powerful source-code-control software. I assume that readers are well versed with source-control software. It is aimed at developers who would like to move their development environment to Git SCM. This article looks at setting up Git and using it for Linux kernel development.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |