N
N
n4ela2011-03-18 19:36:41
linux
n4ela, 2011-03-18 19:36:41

Setting up a home git server?

Raised gitosis on my home server and now I would like to keep copies of all my projects there.
The structure of the projects is as follows, there is a workspace directory in it there are directories of the languages ​​python, java, bash, cpp and the directories of the projects themselves are already in them. those. the full path to the project looks like this ~/workspace/java/test-project. How can I leave such a separation of projects by language using the git. In the gitosis configuration file, I don’t want to add the project name in the writable section every time a new project is created, and I will constantly forget to do this.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Oleg Chirukhin, 2011-03-18
@olegchir

gitosis is a crutch system, you can act in accordance with its precepts;) Write a script that will check the workspace for new projects and add them to the gitosis config. Then hang this script to update files in the workspace folder (like this: www.ibm.com/developerworks/linux/library/l-inotify/?ca=drs- ) and you will be happy ;)

P
philpirj, 2011-04-08
@philpirj

What's wrong with github ?
If private repos are needed, unfuddle has a 200Mb free plan.

U
Ubran_Hera, 2014-04-12
@Ubran_Hera

bitbucket
gitlab
PS didn't read the question

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question