Child pages
  • Gitolite (git administration)

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Configuration and administration

Gitolite

to adminster administer gitolite just:

Code Block
git clone git:gitolite-admin

The directory tree is self explanatory

To update just commit:

Code Block
git commit -a #tell git about the changes you want to incorporate
git push # send it to the server

Set the "remote" of an "orphan", local git repo, to a new repo created with gitolite

This is a usual use case: a repo has been created on a development machine, before the repo created using gitolite on the server.

Assume you have an existing project you want to add in your new repository.

Code Block
languagebash
cd foo
git init
git add --all
git commit -m "Initial commit"

Link your local repository with your remote repository then push the local content to your remote repository.

Code Block
languagebash
git remote add origin git-bluelight:foo
git push --set-upstream origin master

References

TBC