-
Notifications
You must be signed in to change notification settings - Fork 201
Create fork and clone it
Create fork y clone it
Reference documentation at https://guides.github.com/activities/forking y Github official doc
Basically, what we'll do is a copy of our original repository in an organization of our own user (fork). Then we will download a copy of the original repo in our pc (clone) and we will configure the possibility of updating from a remote (the original repository) that we will call "upstream"
From the github web, we will create a fork in a user or organization (in our case "adhoc-dev")
Cloning fork locally. For example:
$ git clone [email protected]:adhoc-dev/odoo.git
Later, we will configure to update our fork from the original repository. For that, we go to the original repo and copy the URL for cloning.
We add that URL as Upstream with:
$ git remote add upstream [URL]
To check if everything's ok, we do:
$ git remote -v
We should see something like this:
origin [email protected]:adhoc-dev/odoo-public-administration.git (fetch)
origin [email protected]:adhoc-dev/odoo-public-administration.git (push)
upstream [email protected]:ingadhoc/odoo-public-administration.git (fetch)
upstream [email protected]:ingadhoc/odoo-public-administration.git (push)
Odoo Argentina: Documentación, foro y mucho más en https://www.odooargentina.com
Contribuidores Principales: ADHOC SA