Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

增量push、pull测试用例 #25

Open
lgxbslgx opened this issue Apr 13, 2017 · 0 comments
Open

增量push、pull测试用例 #25

lgxbslgx opened this issue Apr 13, 2017 · 0 comments

Comments

@lgxbslgx
Copy link
Member

lgxbslgx commented Apr 13, 2017

添加文件分别在一、二、三层

一、远程不做操作时
1、local添加文件: add_local_test.txt update_local_test.txt delete_local_test.txt, 然后本地push , 然后远程pull
2、local修改文件: update_local_test.txt, 然后本地push , 然后远程pull
3、local删除文件: delete_local_test.txt, 然后本地push, 然后远程pull

二、远程添加文件时
1,1、local添加文件: add_local_test.txt update_local_test.txt delete_local_test.txt,remote添加文件 remote_add.txt , 然后本地push , 然后远程pull, 然后远程push, 然后本地pull(添加不同名称的文件)
1.2、local添加文件: add_remote_test_add.txt,remote添加文件add_remote_test_add.txt , 然后本地push , 然后远程pull, 然后远程push, 然后本地pull(添加相同名称的文件)
2、local修改文件: update_local_test.txt, remote添加文件add_remote_test_update.txt,然后本地push , 然后远程pull, 然后远程push, 然后本地pull
3、local删除文件: delete_local_test.txt, remote添加文件add_remote_test_delete.txt, 然后本地push, 然后远程pull, 然后远程push, 然后本地pull

三、远程修改文件时(本地和远程都有文件 update_remote_test.txt)
1、local添加文件: add_local_test.txt update_local_test.txt delete_local_test.txt,remote修改文件update_remote_test.txt, 然后本地push , 然后远程pull, 然后远程push, 然后本地pull
2.1、local修改文件: update_local_test.txt, remote修改文件update_remote_test.txt,然后本地push , 然后远程pull, 然后远程push, 然后本地pull(修改相同文件)
2.2、local修改文件: update_remote_test.txt, remote修改文件update_remote_test.txt,然后本地push , 然后远程pull, 然后远程push, 然后本地pull(修改不同文件)
3、local删除文件: delete_local_test.txt, remote修改文件update_remote_test.txt, 然后本地push, 然后远程pull, 然后远程push, 然后本地pull

四、远程删除文件时(本地和远程都有文件 delete_remote_test_add.txt、delete_remote_test_update.txt、delete_remote_test_delete.txt delete_remote_test_delete_2.txt)
1、local添加文件: add_local_test.txt update_local_test.txt delete_local_test.txt ,remote删除文件delete_remote_test_add.txt, 然后本地push , 然后远程pull, 然后远程push, 然后本地pull
2、local修改文件: update_local_test.txt, remote删除文件delete_remote_test_update.txt,然后本地push , 然后远程pull, 然后远程push, 然后本地pull
3.1、local删除文件: delete_local_test.txt, remote删除文件delete_remote_test_delete.txt, 然后本地push, 然后远程pull, 然后远程push, 然后本地pull(删除不同文件)
3.2、local删除文件: delete_remote_test_delete_2.txt, remote修改文件delete_remote_test_delete_2.txt, 然后本地push, 然后远程pull, 然后远程push, 然后本地pull(删除相同文件)

五、没pull直接push的情况
本地修改文件update_local_test.txt,远程修改update_local_test.txt,本地push,远程push,本地pull

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant