asp.net mvc 4 - Which files should be version controlled by Git? -


i'm starting on git environment , i'm little confuse .gitignore. i'd know kind of files should version controlled, because pushed project bitbucket when workmate pulled it, visual studio couldn't restore nu-get's dlls, generating many problems. normal or not?

https://www.gitignore.io/ site set .gitignore file. can add frameworks, languages etc , generate basic .gitignore file.

in end depends on project , setup , how want share code. there no general solution.

some ideas:

  • include make possible open project after checkout , being able compile/run/test/debug/deploy
  • include has influence on build result (compiler options, file encodings, settings)
  • don't include files absolute paths
  • dont include own project settings, colors, etc

consider have @ question , answer too: visual studio .gitignore


Comments

Popular posts from this blog

c++ - Delete matches in OpenCV (Keypoints and descriptors) -

java - Could not locate OpenAL library -

sorting - opencl Bitonic sort with 64 bits keys -