MEGAsync does not upload .git and .gitignore files!
MEGAsync does not upload .git and .gitignore files! is there a way to include them without deleting .* from exclude area?
This will be easy in the near future. We have an upcoming release that introduces .megaignore files for controlling exclusions and you can re-include subsets. You can try out an Alpha version here, and it has a link to the issue describing the .megaignore format. thanks https://github.com/meganz/MEGAsync/issues/770
MEGAsync does not upload .git and .gitignore files! is there a way to include them without deleting .* from exclude area?
You can add
+:.gitignore
+:.git
to your .megaignore file. It worked for me.
Instead of the default -:.*, I prefer to only exclude directories (d):
-d:.*
+d:.git
+d:.vscode
https://help.mega.io/installs-apps/desktop/megaignore
Thanks for your feedback. Closing the issue.