コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
6974 ビュー

... 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
36038
1
3月 15
5696
2
3月 15
4702
1
2月 24
2044
2
11月 22
12099