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

同步忽略文件配置使用 gitignore 规则 #5295

Closed
88250 opened this issue Jun 27, 2022 · 0 comments
Closed

同步忽略文件配置使用 gitignore 规则 #5295

88250 opened this issue Jun 27, 2022 · 0 comments
Assignees
Milestone

Comments

@88250
Copy link
Member

88250 commented Jun 27, 2022

之前只是简单地支持了 *** 通配符,需要改进为使用 gitignore 规则,这样能够:

  • 通过 # 开头作为逐世行
  • 使用 ! 开头表示不忽略某个路径

更多细节可参考 Git - gitignore Documentation

实现 https://github.com/sabhiram/go-gitignore

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

No branches or pull requests

1 participant