'svn add' interactive

前端 未结 3 1418
闹比i
闹比i 2021-01-18 12:41

Is there any command line trick to get SVN to add in all the missing files from svn stat interactively?

For example, something like:

s         


        
3条回答
  •  星月不相逢
    2021-01-18 12:44

    The following line on a Unix shell adds all missing files.

    svn status | grep '?' | sed 's/^.* /svn add /' | bash
    

提交回复
热议问题