命令行svn commit分享

来源:互联网 发布:手机我的世界拔刀剑js 编辑:程序博客网 时间:2024/06/05 10:31

有时候命令行提交某个文件夹下的code时不知道会提交哪些文件,直接svn commit可能会出现多提交你未预料到的其他文件,

咋办?

 

svn status, svn commit.

Example :

 

@xalnx6:~/CTV_2K15/CTV_P2K15/TV/install$svn status  ./include/dtcp_ip ./lib/dtcp_ip/ 

A       include/dtcp_ip

A      include/dtcp_ip/dtcp_decrypt_content.h

A       lib/dtcp_ip

A      lib/dtcp_ip/arm-linux-gnueabihf-4.7

A      lib/dtcp_ip/arm-linux-gnueabihf-4.7/libdtcp_ip.so

A      lib/dtcp_ip/arm-linux-gnueabihf-4.9

A      lib/dtcp_ip/arm-linux-gnueabihf-4.9/libdtcp_ip.so

@xalnx6:~/CTV_2K15/CTV_P2K15/TV/install$svn commit  ./include/dtcp_ip ./lib/dtcp_ip/   -m "[] add dtcp related file and so"

Adding        include/dtcp_ip

Adding        include/dtcp_ip/dtcp_decrypt_content.h

Adding        lib/dtcp_ip

Adding        lib/dtcp_ip/arm-linux-gnueabihf-4.7

Adding  (bin) lib/dtcp_ip/arm-linux-gnueabihf-4.7/libdtcp_ip.so

Adding        lib/dtcp_ip/arm-linux-gnueabihf-4.9

Adding  (bin) lib/dtcp_ip/arm-linux-gnueabihf-4.9/libdtcp_ip.so

Transmitting file data ...

Committed revision 3041.

0 0
原创粉丝点击