简体   繁体   中英

When using git-svn, is there a way to make a commit that 'git svn dcommit' will ignore pushing to its remote?

我想知道是否有一种方法告诉git-svn忽略历史记录中的提交,并且永远不要将其推送到远程服务器。

Turns out I could do what I needed by properly configuring my .gitignore file. After more searching, I couldn't find a way to keep specific commits from pushing to the server. And in retrospect, even if you could I can't think of a use case that wouldn't turn your local repository history into spaghetti eventually.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM