Current location - Quotes Website - Collection of slogans - How to build git server under mac system
How to build git server under mac system
Step one, download gitblit.

/

Of course, this is the version of linux/osx X. I downloaded the compressed file from tar.gz. When I downloaded it, the latest version was gitblit-1.7.1.tar.gz.

The second step is to configure gitblit.

Create a directory as the root directory where the git server stores data. For example, my directory here is:

/Users/xxxx/git server/git repository

Unzip the file downloaded in the first step, then enter the data subdirectory and find defaults.properties to open it. Many configuration items here can use default values, but usually they will

Git.repositoriesFolder folder configuration. This is configured as the path of the newly created directory gitRepository above.

Then I found these operations: server.mit, push: