Created
January 18, 2023 03:58
-
-
Save sanjarcode/7049effd6a4de2477d2297eb2aff93f5 to your computer and use it in GitHub Desktop.
Personal cloud sync ignore file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Context for exclusion | |
# 1. For excluding files, use .gitignore as hint. | |
# 2. Soft exclusion - Don't copy .gitignore blindly. IDE settings are still. | |
# .gitignore syntax - MEGAsync exclusion syntax | |
# 1. /dirName - dirName - directory exclusion | |
# 2. dir1/dir2 - */dir1/dir2 - MEGAsync is not consistent with exclusion syntax | |
# Tip - Delete all files to be excluded before settings the exclusion. | |
# Otherwise the excluded file will have a single stagnant instance in the cloud. | |
# Git repos mess up sync - going to save on remote anyway | |
# .git , bad decision. I had to clone all repos when I changed the device, as all .git were lost (they only existed on my old local machine). | |
# Android - https://medium.com/back-market-engineering/put-your-android-studio-on-a-diet-fa4d364acb05#:~:text=Clear%20your%20project%20directory,Remove%20your%20. | |
# source: .gitignore file | |
# Default exclusions - by MEGA | |
*.sb-????????-?????? | |
*.tmp | |
*~.* | |
# Windows | |
desktop.ini | |
Thumbs.db | |
~* | |
*/app/build - Takes a hell lot of space | |
.gradle - Takes a hell lot of space | |
# Web apps - from .gitignore of a React scaffold | |
node_modules | |
*/.pnp | |
.pnp.js | |
# Next.js build folder | |
.next | |
# Mac OS | |
.DS_Store |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment