Is it possible to make git svn dcommit result in a single svn commit?

前端 未结 3 1979
盖世英雄少女心
盖世英雄少女心 2020-12-22 22:19

According to the manual, git dcommit “will create a revision in SVN for each commit in git.” But is there a way to avoid multiple Subversion revisions? That is,

3条回答
  •  误落风尘
    2020-12-22 22:59

    If you work on a branch in git, you can git-merge --squash, which does that within git. You could then push that one squashed commit to SVN.

    Of course, lots of small commits are good, so why would you want to squash them?

提交回复
热议问题