Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
I have installed a production server ocb-backports Version of Odoo 7.0 with git. Now I wonder what would be the right way to update our installation.
my clone command was (being inside of /opt/ocb)
sudo git clone --branch 7.0 https://github.com/OCA/OCB.git ocb-server (which creates a git reposittory /opt/ocb/ocb-server).
I think I have to use 'git merge' to update my installation but would like someone more git literate than me to confirm my command is good. Actually I think it is a very similar one then the clone just replacing 'git clone' with 'git merge'
sudo git merge --branch 7.0 https://github.com/OCA/OCB.git ocb-server
Can anyone comment whether that is good or whether ther is mor to this? I am a total newb to git and I am not a programmer or anything. We are only using it to keep up to date with our production server installation. I do not intent to contribute anything from our end to the OCB branch on github (there is noting actually). I want to update my local git repository with any bugfixes or patches that where applied @ https://github.com/OCA/OCB.git
EDIT: I already have a strong feeling the above sudo git merge --branch 7.0 https://github.com/OCA/OCB.git ocb-server is not what you need to do. Still looking for the right command set. I guess it starts with moving into my repository (cd /opt/ocb/ocb-server) and executing a git status, ... then it get's a little blurry already
@Elevation Organics is right.
You can update odoo using below step.
1. open the terminal
2. set the path where your odoo is available.
like in my system: cd workspace/openerp/8.0
after this you will see like ankit@ankit:~/workspace/openerp/8.0$
3. type this command git pull origin 8.0
like: ankit@ankit:~/workspace/openerp/8.0$ git pull origin 8.0
Hope this help for you
Thanks & Regards,
Ankit H Gandhi.
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 7/25/14, 11:51 PM|
|Seen: 9508 times|
|Last updated: 12/7/15, 7:40 AM|