The International Simutrans Forum

 

Author Topic: Git should not track local Visual Studio configuration files  (Read 101 times)

0 Members and 1 Guest are viewing this topic.

Offline Matthew

  • *
  • Posts: 439
    • Japan Railway Journal
  • Languages: EN, some ZH, DE & SQ
Git should not track local Visual Studio configuration files
« on: October 19, 2020, 04:45:27 PM »
In the process of testing the CMake build process for Visual Studio, I discovered that Git tracks the /.vs/ directory that Visual Studio uses to store internal configuration files that are specific to each user. This directory is changed every time that you open Visual Studio.

We do not want this directory tracked and it's just a trap lying in wait for players who are new to Git or VS. For some reason, Git does not include this is their standard .gitignore file for VS users.

Commit ea429d5 should stop the tracking.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20342
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Git should not track local Visual Studio configuration files
« Reply #1 on: October 25, 2020, 12:21:33 PM »
Splendid, thank you; now incorporated.