草庐IT

enable-feature

全部标签

git - 致命 : Not a gitflow-enabled repo yet. 请先运行 'git flow init'

我克隆了一个项目并运行了gitcheckout-bdevelop。当我运行gitflowfeaturestartfeature_name时,出现以下错误:Fatal:Notagitflow-enabledrepoyet.Pleaserun'gitflowinit'first.谁能帮帮我? 最佳答案 我通过执行jpfl提到的步骤让它工作@answers.atlassian.com:Althoughthisisanoldpost,justwantedtoaddtothissinceI'vegottenstuckonthissameerr

git - 致命 : Not a gitflow-enabled repo yet. 请先运行 'git flow init'

我克隆了一个项目并运行了gitcheckout-bdevelop。当我运行gitflowfeaturestartfeature_name时,出现以下错误:Fatal:Notagitflow-enabledrepoyet.Pleaserun'gitflowinit'first.谁能帮帮我? 最佳答案 我通过执行jpfl提到的步骤让它工作@answers.atlassian.com:Althoughthisisanoldpost,justwantedtoaddtothissinceI'vegottenstuckonthissameerr

Git Discipline : combining multiple feature branches, 但仍将它们分开?

我正在从事的当前项目,我正在尝试探索一堆不同的想法,这些想法通常表现为一堆功能分支。我正在处理的功能通常彼此正交,因此有时我想merge所有这些功能(或功能的某些子集)并一起测试它们。到目前为止,我的工作流程是这样的——我有分支featureA、featureB、featureC,我会有一个名为featureA_featureB然后是另一个像featureA_featureB_featureC等我有两个问题:命名方案非常繁琐并且会产生很多分支困惑由于我正在测试具有merge在一起的功能的分支,所以我倾向于不小心提交到组合分支而不是单个分支。因此,例如,我想到了对featureC的改进,

Git Discipline : combining multiple feature branches, 但仍将它们分开?

我正在从事的当前项目,我正在尝试探索一堆不同的想法,这些想法通常表现为一堆功能分支。我正在处理的功能通常彼此正交,因此有时我想merge所有这些功能(或功能的某些子集)并一起测试它们。到目前为止,我的工作流程是这样的——我有分支featureA、featureB、featureC,我会有一个名为featureA_featureB然后是另一个像featureA_featureB_featureC等我有两个问题:命名方案非常繁琐并且会产生很多分支困惑由于我正在测试具有merge在一起的功能的分支,所以我倾向于不小心提交到组合分支而不是单个分支。因此,例如,我想到了对featureC的改进,

git - 如何将 develop 分支中的 git commits merge 到 feature 分支

我的git存储库中有一个开发分支和一个功能分支。我添加了一个开发提交,现在我希望将该提交merge到我的功能分支。如果我这样做gitcheckoutfeaturegitmergedevelop我最终得到了一个merge提交。由于我会经常将develop上的新提交merge到我的功能分支,因此我想避免所有这些不必要的merge提交。我看到这个answer这建议执行gitrebasedevelop但它最终将我的分支倒带得太远并且rebase失败。更新:我最终做的是gitcheckoutfeaturegitmergedevelop#thiscreatesamergecommitthatIdo

git - 如何将 develop 分支中的 git commits merge 到 feature 分支

我的git存储库中有一个开发分支和一个功能分支。我添加了一个开发提交,现在我希望将该提交merge到我的功能分支。如果我这样做gitcheckoutfeaturegitmergedevelop我最终得到了一个merge提交。由于我会经常将develop上的新提交merge到我的功能分支,因此我想避免所有这些不必要的merge提交。我看到这个answer这建议执行gitrebasedevelop但它最终将我的分支倒带得太远并且rebase失败。更新:我最终做的是gitcheckoutfeaturegitmergedevelop#thiscreatesamergecommitthatIdo

Git merge develop into feature 分支输出 "Already up-to-date"而不是

我从develop中检查了一个名为branch-x的功能分支。过了一会儿,其他人将更改推送到develop分支。我想将这些更改merge到我的branch-x中。但是如果我这样做了gitmergedevelop它说“已经是最新的”并且不允许我merge。gitdiffdevelop显示branch-x和develop之间有区别如何将developmerge到branch-x中? 最佳答案 你应该先pulldevelop分支的更改,然后才将它们merge到您的分支:gitcheckoutdevelopgitpullgitcheckou

Git merge develop into feature 分支输出 "Already up-to-date"而不是

我从develop中检查了一个名为branch-x的功能分支。过了一会儿,其他人将更改推送到develop分支。我想将这些更改merge到我的branch-x中。但是如果我这样做了gitmergedevelop它说“已经是最新的”并且不允许我merge。gitdiffdevelop显示branch-x和develop之间有区别如何将developmerge到branch-x中? 最佳答案 你应该先pulldevelop分支的更改,然后才将它们merge到您的分支:gitcheckoutdevelopgitpullgitcheckou

git - '接收包' : service not enabled for './.git'

(已经解决了,我正在为下一个人写这个)我在一台计算机上运行gitdaemon并尝试与另一台计算机同步。在计算机A上,我运行:gitdaemon--reuseaddr--base-path=.--export-all--verbose在计算机B上,我运行:gitclonegit://computerA/.gitsource#workedcdsourcegitpull#workedgitpush#failedwith"fatal:Theremoteendhungupunexpectedly"在计算机A上,守护程序输出为:[5596]Connectionfrom127.0.0.1:2476[

git - '接收包' : service not enabled for './.git'

(已经解决了,我正在为下一个人写这个)我在一台计算机上运行gitdaemon并尝试与另一台计算机同步。在计算机A上,我运行:gitdaemon--reuseaddr--base-path=.--export-all--verbose在计算机B上,我运行:gitclonegit://computerA/.gitsource#workedcdsourcegitpull#workedgitpush#failedwith"fatal:Theremoteendhungupunexpectedly"在计算机A上,守护程序输出为:[5596]Connectionfrom127.0.0.1:2476[