How to install and use GitHub

  
under Linux system

Linux system GitHub is a kernel code management system that can help programmers to automatically update code without manually uploading to the server, which can save a lot of time. Here's how to install and use GitHub under Linux.

First, install and configure

Although Git pre-installed on all Mac and Linux computers, but without exception, are pre-installed version of Git old. So, whether you are using Mac, Linux or Windows, you must install Github yourself.

The installation process will not be repeated here. After the installation is complete, the most important step is of course to configure Git.

Execute the following command:

$ git config --list

This command will read and display the Git configuration file, including personally identifiable information and color matching. All aspects.

Using the >git config” command, you can modify Git's configuration file to create your own unique work environment. But first, you must configure your user nickname and email address. Because this information will be embedded in all the files you submit.

Execute the following command configuration, please note that this command can only be executed once, because Git will always use this information to handle everything you do in the system. If you want to use a different name or e-mail address in a particular project, you can run the command in the project without appending the –global option.

$ git config --global user.name [name]

$ git config --global user.email [em] Previous 12 Next Total 2

Copyright © Windows knowledge All Rights Reserved