-
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 |
Why .class also included? Isn't it part of the source code?
This is great thanks! Also some more good stuff here: https://github.com/github/gitignore
@elijahr2411 No, this is not for specific environments / frameworks / IDEs, this is very broad on purpose, only featuring files that must not be committed under any circumstances, such as OS specific system files or compiled / compressed files.
Use this and combine it with one of those: https://github.com/github/gitignore (thanks for the link, @jgphilpott)
Chúng ta có thể bỏ qua tệp web.Config bằng tệp gitignore không
lol thanks
Totally usefull!!
سلام ،من فکر می کنم ،هر گاه میخواهم پروفایل را باز کنم تا اطلاعاتم را وارد کنم به جایی جز همانی که می خواهم هدایت می شوم چند مورد اتفاق افتاده که متوجه کلاهبرداری شده ام و دیگر ادامه ندادم چگونه ایمن کنم
c'est Bon vraiment.merci beaucoup
So basically the files with these extensions would be ignored(will not compile). How can I specify only the files that should be compiled?
Very useful
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
This is unexpectedly nice.