I am using Visual Studio 2013
and GitHub
for my source control, and a problem I keep having is that it keeps trying to commit all of the .js
files that are generated from .ts
(Typescript) files.
The reason this is bad is because I've had experiences where committing these causes building to fail, and only closing and re-opening Visual Studio fixes the issues.
My knowledge of git is still rudimentary in general, but it seems to me this must be a common problem. I do not want to just exclude all .js
files because there are many that are not generated from typescript; So is there anything I can do about this other than MANUALLY excluding the files every single time I do a commit?