...
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.
For example, gitolite created a repo called "foo":
cd my_local_foo_repo
git remote add origin git-bluelight:foo
git push --set-upstream origin master
References
TBC