You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gonzalo Ruzafa edited this page Aug 12, 2015
·
1 revision
Another alternative is not cloning the fork, we'll work with the clon of the original repository.
If it does not exist, we'll do a fork of the original repo to our user or organization (in our case [adhoc-dev] (https://github.com/adhoc-dev))
We add to our clon of the original repo the remote of our clone, it would be $ git remote add [remote_name] [url]. For ex. $ git remote add adhoc-dev git@github.com:adhoc-dev/odoo-infrastructure.git
We perform pull and checkouts as usual $ git checkout -b [branch_name]. For ex $ git checkout -b 8.0_sample_fix
We perform the code modifications
We make a commit, for example: $ git commit -am 'FIX partner onchange'
When we want to make a Push, it is likely tha we will face an error (for not having the writing rights in the original repo), that's why we do $ git push [remote_name] [branch_name]. For example $ git push adhoc-dev 8.0_sample_fix