Skip to content
Grav 2.1 is out: every page speaks Markdown. Read the announcement →

Git sync and problem with gitignore

plugins

Started by Norbert 4 years ago · 1 replies · 665 views
4 years ago

I have a configured repository (Bitbucket) and a Git Sync plugin.

I am sending folders with user including themes.

In the themes/mytheme folder there is a folder node_modules which I cannot block from uploading.

I tried to add in the plugin configuration:

TXT
node_modules
**/node_modules

but it sends me this directory with its contents every time.

The path is to be given relative to the Grav root directory?

There is also a .gitignore file on Bitbucket with different content. So which configuration is used?

last edited 08/03/22 by Norbert
4 years ago

There are a few similar issues in the plugin's repo. If none are the same, I suggest adding your question as a new issue there. I doubt you will get much help here but you might.

Suggested topics

Topic Participants Replies Views Activity
Plugins · by complanar, 2 weeks ago
2 251 4 days ago
Plugins · by Vladimir Novak, 1 month ago
3 594 1 month ago
Plugins · by Mathieu Lecouturier, 2 months ago
3 417 2 months ago
Plugins · by Slebeig, 2 months ago
1 530 2 months ago
Plugins · by Rene, 3 months ago
2 731 3 months ago