Setting up a remote git repository
Just for reference.
1. Download git sources
Grab the latest tarball from http://www.kernel.org/pub/software/scm/git/
2. Extract and do make prefix=. I usually install such things in ~/bin
3. Make sure git binaries are in your PATH
4. 'cd' to the directory you want to start the project in, be it empty or already filled with project source files. Do 'git init-db'. It will respond with "defaulting to local storage area."
5. Run 'git add .', which adds the files in the current directory recursively. If you want to add a subset of files, specify them explicitly.
6. Run 'git-daemon' as appropriate. Use may want to use 'screen' if it doesn't have the --detach option. See http://www.kernel.org/pub/software/scm/git/docs/git-daemon.html
7. Test the setup by executing this or a similar command on a different machine "git clone git://server/git/project"
Alternatively, tools like cogito can also be used which "ease" the use of git. Cogito can be found here: http://www.kernel.org/pub/software/scm/cogito/
That is all :) Happy Hacking!
1. Download git sources
Grab the latest tarball from http://www.kernel.org/pub/software/scm/git/
2. Extract and do make prefix=
3. Make sure git binaries are in your PATH
4. 'cd' to the directory you want to start the project in, be it empty or already filled with project source files. Do 'git init-db'. It will respond with "defaulting to local storage area."
5. Run 'git add .', which adds the files in the current directory recursively. If you want to add a subset of files, specify them explicitly.
6. Run 'git-daemon' as appropriate. Use may want to use 'screen' if it doesn't have the --detach option. See http://www.kernel.org/pub/software/scm/git/docs/git-daemon.html
7. Test the setup by executing this or a similar command on a different machine "git clone git://server/git/project"
Alternatively, tools like cogito can also be used which "ease" the use of git. Cogito can be found here: http://www.kernel.org/pub/software/scm/cogito/
That is all :) Happy Hacking!