国产av日韩一区二区三区精品,成人性爱视频在线观看,国产,欧美,日韩,一区,www.成色av久久成人,2222eeee成人天堂

redmine項(xiàng)目管理軟件與git軟件的配置
大家講道理
大家講道理 2017-04-24 09:12:22
0
2
795

按照官方的教程http://www.redmine.org/projects/redmine/wiki/HowTo_Easily_integrate_a_(SSH_secured)_GIT_repository_into_redmine
在centos上安裝好了redmine和git.但是按教程的最后一步命令

*/5 * * * * redmine cd /var/lib/redmine/repos/my_repo && git fetch --all

配置完,發(fā)現(xiàn)通過(guò)redmine無(wú)法看到git倉(cāng)庫(kù)的最新變化.而如果將git fetch 命令修改為git merge的話,則正常了.不知道有沒(méi)有用過(guò)的開(kāi)發(fā)人員指點(diǎn)一下,確定一下是不是自己配置有問(wèn)題的.

大家講道理
大家講道理

光陰似箭催人老,日月如移越少年。

reply all(2)
黃舟

This is normal.

git fetchJust capture it, not merge it, nor update your working directory. So your working directory has not changed.

If you want to update,fetch之后要merge。(或者fetchmerge兩步并一步: pull. )

左手右手慢動(dòng)作

Have you tried executing git fetch manually?

Or give it a try: git --git-dir='/var/lib/redmine/repos/my_repo' fetch --all

If you use git merge, it is actually only for merging data under the current branch, but redmine does not read these data. If you follow the tutorial and use the --mirror parameter, actually none of the files in your warehouse will be included. It is in the form of a regular file, but what is in the .git directory during regular cloning.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template