Combine local Git commits into one commit for git-svn

后端 未结 6 1408
野的像风
野的像风 2021-01-30 09:16

Currently, when I run git svn dcommit git creates a separate commit in SVN for every local commit I\'ve made since last syncing with SVN. Is there any way for

6条回答
  •  难免孤独
    2021-01-30 10:01

    This worked for me--squashed several commits into one commit and then dcommitted to svn:

    http://www.gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html

提交回复
热议问题