1、svn

svn update 更新

新增文件或文件夹并提交
svn add "sss" test.py testw.py
svn add "dir" dir_path
svn commit -m "提交增加" test.py testw.py
svn commit -m "提交增加" dir_path

删除文件或文件夹并提交
svn delete "sss" test.py testw.py
svn delete "dir" dir_path
svn commit -m "提交删除" test.py testw.py
svn commit -m "提交删除" dir_path

checkout目录
svn co svn://192.168.0.172/repository --username xxx --password 123456
svn co svn://192.168.39.177/repository --username xxx --password 123456

svn st 查看文件夹中文件状态

看文件的更改
svn diff acs_detect.py

 

2、git

git pull 拉目录

提交:

git add

git commit -m  "scxecxw" 提交

git push 最终提交到版本库

相关文章:

  • 2021-11-05
猜你喜欢
  • 2021-12-03
  • 2022-01-07
  • 2022-01-01
相关资源
相似解决方案