命令行svn commit分享

有時候命令行提交某個文件夾下的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.

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章