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

sync方式下能否忽略目录 #31

Open
anyforever opened this issue Nov 8, 2017 · 4 comments
Open

sync方式下能否忽略目录 #31

anyforever opened this issue Nov 8, 2017 · 4 comments

Comments

@anyforever
Copy link

在win的cmd下,同步到远端的目录正常,但是有版本库目录不想同步,不知道有没有办法配置忽略
另外在Git shell下,sync完,远程目录会传到
sync E:\Server\www\testhome\dir to /D:/Program Files/Git/dir OK
sync E:\Server\www\testhome\t1f.txt to /D:/Program Files/Git/t1f.txt OK

@polym
Copy link
Collaborator

polym commented Nov 8, 2017

现在还不支持,之后版本可以考虑支持。

@anyforever
Copy link
Author

anyforever commented Nov 8, 2017

@polym
第2个问题,可以通过设置解决么?还是也需要upx兼容环境?
另外权限问题,个人建议通过本地配置文件读取,这样不用总login或者命令再带auth参数这么麻烦

@polym
Copy link
Collaborator

polym commented Nov 8, 2017

第2个问题,可以通过设置解决么?还是也需要upx兼容环境?

我的想法是增加 exclude-dir 参数

另外权限问题,个人建议通过本地配置文件读取,这样不用总login或者命令再带auth参数这么麻烦

只要登陆一次,之后执行命令就是读取本地配置文件的。

@anyforever
Copy link
Author

@polym
嗯。我说的第2个问题,指的是在Git shell下,sync完,远程目录不对的问题。
会传到
sync E:\Server\www\testhome\dir to /D:/Program Files/Git/dir OK
正常应该是
sync E:\Server\www\testhome\dir to /dir OK

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

2 participants