...
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 |
...
This is a usual use case: a repo has been created on a development machine, before the repo created using gitolite on the server.
For example, gitolite created a repo called "foo":
...
Assume you have an existing project you want to add in your new repository.
Code Block | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
git remote add origin git-bluelight:foo |
...
git push --set-upstream origin master |
References
TBC