Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/mercurial/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
使用Mercurial Hg和Bitbucket的本地项目工作流_Mercurial_Workflow_Project_Bitbucket - Fatal编程技术网

使用Mercurial Hg和Bitbucket的本地项目工作流

使用Mercurial Hg和Bitbucket的本地项目工作流,mercurial,workflow,project,bitbucket,Mercurial,Workflow,Project,Bitbucket,通常我在mac上本地创建网站(PHP、HTML、CSS)。我已经安装了MAMP和Mercurial(Hg) 当我开始一个新项目时,我在“htdocs”中绘制了一个新的项目目录,并以hgint开始。新文件由hg add添加到项目中,或在.hgignore中排除。此项目中的所有更改都通过hg commit完成 除了本地项目之外,我将整个项目推送到Bitbucket(hg push)的私有存储库中https://bitbucket.org/MyUser/MyProjectRepository)。那很好

通常我在mac上本地创建网站(PHP、HTML、CSS)。我已经安装了MAMP和Mercurial(Hg)

当我开始一个新项目时,我在“htdocs”中绘制了一个新的项目目录,并以
hgint
开始。新文件由
hg add
添加到项目中,或在
.hgignore
中排除。此项目中的所有更改都通过
hg commit
完成

除了本地项目之外,我将整个项目推送到Bitbucket(
hg push)的私有存储库中https://bitbucket.org/MyUser/MyProjectRepository
)。那很好用

当第二个人同时在项目中工作时,问题就开始了。他用
hg克隆https://bitbucket.org/MyUser/MyProjectRepository
my private Bitbucket存储库

当我在mac上更改并提交本地css文件时,将其后置字推送到Bitbucket,第二个人在其本地css文件上更改了某些内容,同时他在尝试将更改推送到Bitbucket时遇到合并问题


有人知道问题出在哪里吗?

第二个人需要从bitbucket存储库中提取并合并您的更改,然后再将其更改推回


查看HGInit,了解如何在团队中使用Mercurial的详细介绍。

第二个人需要从bitbucket存储库中提取并合并您的更改,然后再将其更改推回


查看HGInit,了解如何在团队中使用Mercurial的精彩介绍。

问题应为英语:用英语写我的问题。问题应为英语:用英语写我的问题。