At the beginning of the project, I decided to pour it onto the repository so that you can work quietly not only in the office.

But with pushed with one problem. Namely, ignoring files. It seems that all the files that will change with a simple opening and viewing of the project, added to the ignore

/FirstVersionView/bin /FirstVersionView/obj 

But they still get into the index.

In general, what files should be added to the blacklist in the C # project?

Reported as a duplicate by participants aleksandr barakin , Bald , free_ze , Nick Volynkin 24 Aug '16 at 10:47 .

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

  • There is such a great rep at the git hub where you can see .gitignore examples for almost any language ( click ). In your case, you need to look at the VisualStudio.gitignore file - AvtPhenix
  • Here, rather, depends not on the language, but on the environment. For Visual Studio already have a ready-made template . For Visual Studio Code - such . - free_ze
  • There probably is an answer why the files still get into the index: ru.stackoverflow.com/q/432432 . Here - what generally should be added to the ignore list : stackoverflow.com/q/474556 - Nick Volynkin
  • If the first link does not help you to solve the problem with files in the index, add question 1) the contents of the .gitignore file, 2) the output of the git status -s command. - Nick Volynkin

0