Child pages
  • Gitolite (git administration)

Versions Compared


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


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