跳至内容
菜单
此问题已终结
2 回复
6958 查看

... I think that would be good to know whenever there are reports about problems resulting from updates (so you can compare the commit ID's and know whether you are running on the same commit or not)

形象
丢弃
最佳答案

Hi gunnar,

Try using "git hist" in the console to see all your commits. There will appear something like this:

* ab6d116 2014-09-17 | change in README (HEAD, master) [Juan José]
* 2f17612 2014-09-10 | Change index.html (style) [Juan José]
* 166b16e 2014-09-10 | Added css stylesheet [Juan José]
* 8e62b14 2014-09-10 | Added README [Juan José]
* a07f958 2014-08-27 | add index [Juan José]
* 88964bc 2014-08-27 | moved hello.txt to lib [Juan José]

Regards,

Juan José - Ing ADHOC

 

形象
丢弃
编写者

sounds good but is not working for me. I get a "git: 'hist' is not a git command. See 'git --help'." error.

编写者

oh yes, and the manpage of git does not show any command like 'git hist' or similar. Seems 'git log' might be something to look at

You have to write "git hist" without the ":". Its really a good command to know your commits, try it.

编写者

yes sure. just git hist ... I really get the error posted git: 'hist' is not a git command. See 'git --help' Also there is no manpage for "man git-hist", neither I can find it under "git help -a". Seems we live on a different git-planets.

编写者 最佳答案

This is my solution for now:

copy (or write down) the "latest commit"-ID from the github site of my remote origin https://github.com/OCA/OCB/ (branch 8.0)

cd /opt/odoo/odoo-server

git log | grep ["latest commit"-ID]

if I don't get any ouput from running that, I know I have not pulled or fetched/merged the "latest commit" yet

形象
丢弃
相关帖文 回复 查看 活动
1
3月 15
36034
1
3月 15
5690
2
3月 15
4690
1
2月 24
2038
2
11月 22
12084