Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

gitignore file for unity 2020

Discussion in 'General Discussion' started by ddadkhah, Jun 7, 2021.

  1. ddadkhah

    ddadkhah

    Joined:
    Nov 6, 2017
    Posts:
    59
    Hi,

    I according to the changes to unity 2020 ( from 2019 to 2020) is there anything we should add to our .gitignore file?
     
    EthanFischer likes this.
  2. EthanFischer

    EthanFischer

    Joined:
    Feb 10, 2016
    Posts:
    46
    I too am wondering if there are updates needed for the default unity .gitignore file.

    Two things I've added to mine are the UserSettings and the Logs folder
     
  3. neginfinity

    neginfinity

    Joined:
    Jan 27, 2013
    Posts:
    13,321
    This one is decent, but is missing a few entries:
    https://github.com/github/gitignore/blob/master/Unity.gitignore

    Missing entries:
    Code (csharp):
    1.  
    2. #Visual Studio Code directory
    3. .vscode/
    4. #Editor user settings
    5. /[Uu]serSettings/EditorUserSettings.asset
    6.  
     
    stain2319 likes this.
  4. OccularMalice

    OccularMalice

    Joined:
    Sep 8, 2014
    Posts:
    165