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

node.js - How to mock a third-party api calls in the backend -

java - Could not locate OpenAL library -

Non Unique Username with ASP.Net Identity 2.0 -