-
Star
(3,363)
You must be signed in to star a gist -
Fork
(901)
You must be signed in to fork a gist
-
-
Save octocat/9257657 to your computer and use it in GitHub Desktop.
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
# Packages # | |
############ | |
# it's better to unpack these files and commit the raw source | |
# git has its own built in compression methods | |
*.7z | |
*.dmg | |
*.gz | |
*.iso | |
*.jar | |
*.rar | |
*.tar | |
*.zip | |
# Logs and databases # | |
###################### | |
*.log | |
*.sql | |
*.sqlite | |
# OS generated files # | |
###################### | |
.DS_Store | |
.DS_Store? | |
._* | |
.Spotlight-V100 | |
.Trashes | |
ehthumbs.db | |
Thumbs.db |
Hey, you should consider not setting this file in your projet but in your profile.
The gitignore file within your project should be specific to your project, its language, framework…
Anything that is specific to your code editor, you OS… should be out of that scope.
See http://vinyll.scopyleft.fr/using-gitignore-the-right-way/ for further understanding.
little late but
__pycache__
might be a good addition
little late but
__pycache__
might be a good addition
It is often useful to add xcuserdata
to avoid having one user's machine randomly perturb Xcode debugging switches every time there is a git pull, or to be alerted that changing that stuff will necessitate a push. We also don't really need to see our collaborators xcuserdata.
gitignore
Anything that is specific to you OS, you editor or your workspace should be in your system’s home gitignore, not the project’s .gitignore.
The project´s .gitignore should remain clean with only file and path that are specific to the project itself, not your development environment.
ciao
assort
ciao
ahooo
Hello
Thanks for the information.
Thank´s
et si c'est pour un dossier ou un sous-dossier ?
It is often useful to add
xcuserdata
to avoid having one user's machine randomly perturb Xcode debugging switches every time there is a git pull, or to be alerted that changing that stuff will necessitate a push. We also don't really need to see our collaborators xcuserdata.
Klkl121aaaa
Qwqw12121a
Nicely done!
c'est Bon vraiment.merci beaucoup
OK 👍👍👍 super
👍🏻👍🏻👍🏻👍🏻👍🏻
Ďakujem
Anything that is specific to you OS, you editor or your workspace should be in your system’s home gitignore, not the project’s .gitignore.
The project´s .gitignore should remain clean with only file and path that are specific to the project itself, not your development environment.
On this we disagree. If I own the project and don't want to see users' xcconfig files or let them change mine, then that .gitignore should contain xcuserdata. I can't rely on them to set that in their own system consistently.
.gitignore
Ok
For Excluding Temp and Output Directories, We Can use This:
# Build results #
###################
[Oo]utput/
[Tt]emp/
Live
what about folders we want to ignore?
Very useful