ym1198
ym11983y ago

how to add in `.wmillignore` to only allow `f/abcfolder/` contents`

Same as title
4 Replies
ym1198
ym1198OP3y ago
It should apply to both push and pull i.e. entire sync I figured out
*
!f/yocketscripts
*
!f/yocketscripts
but i want to exclude variables also of this folder
rubenf
rubenf3y ago
We support the same syntax as .gitignore. It should be feasible by tweaking the statements
ym1198
ym1198OP3y ago
It does not work like .gitignore Suppose this is .wmillignore
*/
!f/abcscripts
*variable.yaml
*/
!f/abcscripts
*variable.yaml
In git, it will allow all files of f/abcscripts except one having *.variable.yaml But in wmill sync pull it is fetching from server f/abcscripts/aaa.variable.yaml
rubenf
rubenf3y ago
I will check in the coming days and come back to you. it SHOULD work like .gitignore, if it doesn't it's a bug

Did you find this page helpful?