Odoo Help


This community 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.


[git] how to pull only up to acertain commit?

on 12/30/14, 5:31 AM 469 views

I want to update my testserver up to a certain commit from the OCA/OCB repository. A git log on my production server gives me the commit ID I want to go for (6a8d070d581e17f2e6f032e6c98670cb75db5fe0)

~:/opt/odoo/odoo-server$ git log
commit 6a8d070d581e17f2e6f032e6c98670cb75db5fe0
Merge: f5b1544 55fa508
Author: OCA git bot <OCA-git-bot@therp.nl>
Date:   Thu Dec 4 23:42:27 2014 +0100

nomally I use git pull origin 8.0 for an update. Can someone advise a command that limits this to the commit ID mentioned above (the current OCA/OCB is already ahead of this commit)



| 5 3 6
Jakarta, Indonesia
On 12/30/14, 6:38 AM

You can pull up to the tip of the origin and then do a reset to a certain commit.


Your Answer

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 community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 12/30/14, 5:31 AM
Seen: 469 times
Last updated: 3/16/15, 8:10 AM