Install Git services & use Gitosis to manage members, projects, and project authorizations (UP)

Source: Internet
Author: User

Go from: Install Git services & manage Members, projects, and project authorizations using Gitosis

This is an actual operation of the document, most of the pictures are in their own hands to screen, to achieve real and hope to help more people encounter similar problems in the confusion. If you encounter problems, you can directly at the bottom of the article to contact me, also welcome to shoot bricks.

Figuring out key words, eyes and concepts

Bare Storage (Bare repository)

A warehouse that does not have a current working directory. Because the repository is only a co-operative medium, you do not need to take the latest version of the snapshot from the hard disk; The repository is just Git data. Simply put, the bare repository is the content within your working directory. Git subdirectory.

Add: straightforward, straightforward.

Remote Warehouse

Remote repositories are usually just a bare repository (bare repository)

There are only three states within Git: committed (committed), modified (modified), and staged (staged). Submitted indicates that the file has been safely stored in the local repository, modified to indicate that a file has been modified, but has not yet been committed, and that a staged representation puts the modified file on the list to be saved on the next commit. The following concepts are explained by the actual work item.
Git working Directory

is the other files and directories in addition to the. git directory.

Staging Area

is the actual operation, use the git add command to add a new (modified) file to a control area of the list.

Local Warehouse

is the other files and directories in the. git directory.

git installation

Take one of my centos as an example and do the actual installation process.

There are two main ways to install Git, one is to compile the source code to install, and the other is to use a pre-compiled installation package for a specific platform. I choose the second kind. The first installation method is referenced here

Gitosis managing git users and authorizations

If your project is multi-person development, it is recommended to use gitosis for people to add and project authorization. Installation of Gitosis Online data abound, I have stepped on a lot of pits myself. But I suggest that first look at the online information, and finally carefully read gitosis on GitHub above the installation process, the following combination of their own search reading and installation experience, step by step record my installation process.

1. Gitosis's work relies on some Python tools, so first install Python's setuptools package

Install Git services & use Gitosis to manage members, projects, and project authorizations (UP)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.