.gitignore when developing Python and Django Applications on Windows -


what should change in .gitignore file when i'm developing python/django applications using ptvs, naturally, on windows?

github has nice collection of .gitignore templates. when start django project grab python template , add needed.

i don't develop on windows, have visual studio template. grab both , merge them needed.

i doubt these github links gonna die anytime soon, i'll add current contents of these files anyway.

python.gitignore

# byte-compiled / optimized / dll files __pycache__/ *.py[cod] *$py.class  # c extensions *.so  # distribution / packaging .python env/ build/ develop-eggs/ dist/ downloads/ eggs/ .eggs/ lib/ lib64/ parts/ sdist/ var/ *.egg-info/ .installed.cfg *.egg  # pyinstaller #  these files written python script template #  before pyinstaller builds exe, inject date/other infos it. *.manifest *.spec  # installer logs pip-log.txt pip-delete-this-directory.txt  # unit test / coverage reports htmlcov/ .tox/ .coverage .coverage.* .cache nosetests.xml coverage.xml *,cover  # translations *.mo *.pot  # django stuff: *.log  # sphinx documentation docs/_build/  # pybuilder target/ 

visualstudio.gitignore

## ignore visual studio temporary files, build results, , ## files generated popular visual studio add-ons.  # user-specific files *.suo *.user *.userosscache *.sln.docstates  # user-specific files (monodevelop/xamarin studio) *.userprefs  # build results [dd]ebug/ [dd]ebugpublic/ [rr]elease/ [rr]eleases/ x64/ x86/ build/ bld/ [bb]in/ [oo]bj/  # visual studio 2015 cache/options directory .vs/  # mstest test results [tt]est[rr]esult*/ [bb]uild[ll]og.*  # nunit *.visualstate.xml testresult.xml  # build results of atl project [dd]ebugps/ [rr]eleaseps/ dlldata.c  # dnx project.lock.json artifacts/  *_i.c *_p.c *_i.h *.ilk *.meta *.obj *.pch *.pdb *.pgc *.pgd *.rsp *.sbr *.tlb *.tli *.tlh *.tmp *.tmp_proj *.log *.vspscc *.vssscc .builds *.pidb *.svclog *.scc  # chutzpah test files _chutzpah*  # visual c++ cache files ipch/ *.aps *.ncb *.opensdf *.sdf *.cachefile  # visual studio profiler *.psess *.vsp *.vspx  # tfs 2012 local workspace $tf/  # guidance automation toolkit *.gpstate  # resharper .net coding add-in _resharper*/ *.[rr]e[ss]harper *.dotsettings.user  # justcode .net coding add-in .justcode  # teamcity build add-in _teamcity*  # dotcover code coverage tool *.dotcover  # ncrunch _ncrunch_* .*crunch*.local.xml  # mightymoose *.mm.* autotest.net/  # web workbench (sass) .sass-cache/  # installshield output folder [ee]xpress/  # docproject documentation generator add-in docproject/buildhelp/ docproject/help/*.hxt docproject/help/*.hxc docproject/help/*.hhc docproject/help/*.hhk docproject/help/*.hhp docproject/help/html2 docproject/help/html  # click-once directory publish/  # publish web output *.[pp]ublish.xml *.azurepubxml # todo: comment next line if want checkin web deploy settings  # database connection strings (with potential passwords) unencrypted *.pubxml *.publishproj  # nuget packages *.nupkg # packages folder can ignored because of package restore **/packages/* # except build/, used msbuild target. !**/packages/build/ # uncomment if necessary regenerated when needed #!**/packages/repositories.config  # windows azure build output csx/ *.build.csdef  # windows store app package directory apppackages/  # visual studio cache files # files ending in .cache can ignored *.[cc]ache # keep track of directories ending in .cache !*.[cc]ache/  # others clientbin/ [ss]tyle[cc]op.* ~$* *~ *.dbmdl *.dbproj.schemaview *.pfx *.publishsettings node_modules/ orleans.codegen.cs  # ria/silverlight projects generated_code/  # backup & report files converting old project file # newer visual studio version. backup files not needed, # because have git ;-) _upgradereport_files/ backup*/ upgradelog*.xml upgradelog*.htm  # sql server files *.mdf *.ldf  # business intelligence projects *.rdl.data *.bim.layout *.bim_*.settings  # microsoft fakes fakesassemblies/  # node.js tools visual studio .ntvs_analysis.dat  # visual studio 6 build log *.plg  # visual studio 6 workspace options file *.opt 

Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -