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 -

node.js - Why do I get "SOCKS connection failed. Connection not allowed by ruleset" for some .onion sites? -

matlab - 0-by-1 sym - What do I need to change in order to get proper symbolic results? -