How to “unversion” a file in either svn and/or git

前端 未结 15 1310
被撕碎了的回忆
被撕碎了的回忆 2020-12-22 19:58

It happens to me all the time. I accidentally version a file, I do not want to be versioned (i.e. developer/machine specific config-files).

If I commit this file, I

15条回答
  •  北海茫月
    2020-12-22 20:19

    You can exclude files from subversion with the global-ignore setting
    http://svnbook.red-bean.com/en/1.1/ch07.html#svn-ch-7-sect-1.3.2
    check out the documentation for details

提交回复
热议问题