Subversion: ignore modifications to a file locally on one client only

前端 未结 4 1449
余生分开走
余生分开走 2020-12-01 03:25

Is it possible to ignore changes to a file in subversion locally on one client only, without propagating the ignore to the whole repository?

The particular problem I

4条回答
  •  半阙折子戏
    2020-12-01 04:04

    if you use Subversion 1.5.x or higher you can use changelists:

    svn cl COMMIT /path/to/project/*
    
    svn cl NOT_COMMIT /path/to/project/Makefile
    

    Note: with second command Makefile will be removed from first changelist. You can ignore the warning.

    Do not commit the second changelist.

    do commits via:

    svn ci --cl COMMIT -m"" 
    

    Important: If you commit without --cl option, ALL your changes will be committed

提交回复
热议问题