Combine local Git commits into one commit for git-svn

后端 未结 6 1274
野的像风
野的像风 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:02

    A simpler way could be (if you have multiple commits piled up on your local system):

    git reset 
    git commit -am "your message"  // This will create one clubbed commit of all the commit till the hash tag used.
    

提交回复
热议问题