What do I do about OBJ files, when I try to commit to a Git repository?

  • Today I was trying to store an SSRS project into a Git repository. (The SSRS project was written by a vendor.) I wanted to put it into Git so that if I needed to revert to an older version, I could do that more easily. I was going to use GitHub to store the repo remotely.

    Whenever I create a new repo on GitHub, I always add a README file and a Gitignore file. Since this is a Visual Studio project, I was going to use the Gitignore for Visual Studio. Looking at the SSRS project, I could see that it had a bin folder, which the Gitignore file would ignore, and a .OBJ file (build.obj) within the bin folder, which would also have been ignored by the Gitignore file. Anyway, I've never stored a SSRS project into a Git repo before. I've no idea how Visual Studio would behave if I were to try adding the Visual Studio's Gitignore file to the repo.

    So, I'm asking here, would there be negative consequences, if I were to add a Visual Studio Gitignore file to the repo, especially for others who clone the repo to their systems?

    Kindest Regards, Rod Connect with me on LinkedIn.

  • Thanks for posting your issue and hopefully someone will answer soon.

    This is an automated bump to increase visibility of your question.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply