As you know, we moved our Collabora Online repository to Github. If you haven’t adapted your git configuration yet, you can follow below steps. I hope it works without any problems.
First, you may want to run “git checkout master” inside your Online directory.
git remote add github git@github.com:CollaboraOnline/online.git
git remote remove origin
(remove old repository reference)
git remote remove logerrit
// Set your github ssh key if you haven’t already.
git fetch github
git branch --set-upstream-to=github/master master
cp .git-hooks/commit-msg ./.git/hooks/
That’s all
Cheers.
3 Likes
rizmut
October 9, 2020, 8:49am
2
Please kindly give further more explanation for each step, Gökay.
Thanks.
Hello
These steps are useful for users who have been using gerrit before. If you will have a fresh setup, you can follow below steps:
Hello
Here is a recipe to push your contributions to Collabora Online repository :
If you are not part of the organization over at GH (probably the most common)
Fork the repository [forkit]
Head over Sign in to GitHub · GitHub and generate or add your SSH key
Clone your forked repo with git clone git@github.com:YOURUSERNAME/online.git
Follow the build instructions
Make sure you have installed commit hook, here is how to do it:
./scripts/refresh-git-hooks
Before starting with you…
If anything goes wrong, please let us know