Exclude some files on svn command line commit (not svn:ignore)

后端 未结 7 598
失恋的感觉
失恋的感觉 2021-01-17 11:50

I\'m developing with many people.

I check out remote repository, get 3 file. After edit, run:

svn status

It shows:

         


        
7条回答
  •  一向
    一向 (楼主)
    2021-01-17 12:24

    Expanding upon zoul's answer.. to develop your list of files use:

    svn stat |  grep -v ignore.file | perl -ne 'chop; s/^.\s+//; print "$_ "'
    

    Or if you have file names with spaces use:

    svn stat |  grep -v ignore.file | perl -ne 'chop; s/^.\s+//; print "\"$_\" "'
    

提交回复
热议问题