Aptana: Git merge without fast forward

一世执手 提交于 2020-01-03 03:06:10

问题


how can i disable fast-forward for mergining branches in aptana 3 ?

example:

  1. create/checkout a branch (foo)
  2. commit changes
  3. checkout master-branch
  4. merge with foo

回答1:


Set it in project repository configuration

git config --add merge.ff false



回答2:


I think the nearest you get is to use merge --no-ff.



来源:https://stackoverflow.com/questions/9159895/aptana-git-merge-without-fast-forward

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!