Skip to main content
added 181 characters in body
Source Link

When I create files in Unity editor or move already created files to another folder etc. - these files are not added to git by default. I have to manually add them to git in the Rider IDE. This becomes very annoing when I want to refactor project structure or when I add some prefabs and assets etc.

In Rider Settings -> Version Control -> Confirmation I tried "silent: and "show options..." options, but to no avail. Also if I create file in Rider project structure It will be added by default.

gitignore file:

# This .gitignore file should be placed at the root of your Unity project directory

/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/

# Never ignore Asset meta data
!/[Aa]ssets/**/*.meta

# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

# TextMesh Pro files
[Aa]ssets/TextMesh*Pro/

# Visual Studio cache directory
.vs/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.unitypackage

# Crashlytics generated file
crashlytics-build.properties

git status command (.meta files were added to git when I marked whole folder to be added to git with this problem):

        new file:   Assets/Scripts/CatLikeLegacy.meta
        new file:   Assets/Scripts/CatLikeLegacy/EdgeVertices.cs.meta
        new file:   Assets/Scripts/CatLikeLegacy/FireTrail.cs.meta


... etc. meta files

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        .idea/
        .vscode/
        Assets/Build.meta
        Assets/Build/provinces.png.meta
        Assets/Build/provincesReference.png.meta
        Assets/Materials.meta

...etc ignored files .meta in common

When file created or moved git should automatically track this file.

UPD: Tried to create new clean project in Unity and add git system from Rider - still this problem remains, new files are not tracked by Rider automatically (marked red).

When I create files in Unity editor or move already created files to another folder etc. - these files are not added to git by default. I have to manually add them to git in the Rider IDE. This becomes very annoing when I want to refactor project structure or when I add some prefabs and assets etc.

In Rider Settings -> Version Control -> Confirmation I tried "silent: and "show options..." options, but to no avail. Also if I create file in Rider project structure It will be added by default.

gitignore file:

# This .gitignore file should be placed at the root of your Unity project directory

/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/

# Never ignore Asset meta data
!/[Aa]ssets/**/*.meta

# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

# TextMesh Pro files
[Aa]ssets/TextMesh*Pro/

# Visual Studio cache directory
.vs/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.unitypackage

# Crashlytics generated file
crashlytics-build.properties

git status command (.meta files were added to git when I marked whole folder to be added to git with this problem):

        new file:   Assets/Scripts/CatLikeLegacy.meta
        new file:   Assets/Scripts/CatLikeLegacy/EdgeVertices.cs.meta
        new file:   Assets/Scripts/CatLikeLegacy/FireTrail.cs.meta


... etc. meta files

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        .idea/
        .vscode/
        Assets/Build.meta
        Assets/Build/provinces.png.meta
        Assets/Build/provincesReference.png.meta
        Assets/Materials.meta

...etc ignored files .meta in common

When file created or moved git should automatically track this file.

When I create files in Unity editor or move already created files to another folder etc. - these files are not added to git by default. I have to manually add them to git in the Rider IDE. This becomes very annoing when I want to refactor project structure or when I add some prefabs and assets etc.

In Rider Settings -> Version Control -> Confirmation I tried "silent: and "show options..." options, but to no avail. Also if I create file in Rider project structure It will be added by default.

gitignore file:

# This .gitignore file should be placed at the root of your Unity project directory

/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/

# Never ignore Asset meta data
!/[Aa]ssets/**/*.meta

# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

# TextMesh Pro files
[Aa]ssets/TextMesh*Pro/

# Visual Studio cache directory
.vs/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.unitypackage

# Crashlytics generated file
crashlytics-build.properties

git status command (.meta files were added to git when I marked whole folder to be added to git with this problem):

        new file:   Assets/Scripts/CatLikeLegacy.meta
        new file:   Assets/Scripts/CatLikeLegacy/EdgeVertices.cs.meta
        new file:   Assets/Scripts/CatLikeLegacy/FireTrail.cs.meta


... etc. meta files

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        .idea/
        .vscode/
        Assets/Build.meta
        Assets/Build/provinces.png.meta
        Assets/Build/provincesReference.png.meta
        Assets/Materials.meta

...etc ignored files .meta in common

When file created or moved git should automatically track this file.

UPD: Tried to create new clean project in Unity and add git system from Rider - still this problem remains, new files are not tracked by Rider automatically (marked red).

added 660 characters in body
Source Link

Created files in Unity are not added to the git (Rider) by defaultautomatically

When I create files in Unity editor or move already created files to another folder etc. - these files are not added to git by default. I have to manually add them to git in the Rider IDE. This becomes very annoing when I want to refactor project structure or when I add some prefabs and assets etc.

In Rider Settings -> Version Control -> Confirmation I tried "silent: and "show options..." options, but to no avail. Also if I create file in Rider project structure It will be added by default.

gitignore file:

# This .gitignore file should be placed at the root of your Unity project directory

/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/

# Never ignore Asset meta data
!/[Aa]ssets/**/*.meta

# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

# TextMesh Pro files
[Aa]ssets/TextMesh*Pro/

# Visual Studio cache directory
.vs/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.unitypackage

# Crashlytics generated file
crashlytics-build.properties

git statusgit status command (.meta files were added to git when I marked whole folder to be added to git with this problem):

        new file:   Assets/Scripts/CatLikeLegacy.meta
        new file:   Assets/Scripts/CatLikeLegacy/EdgeVertices.cs.meta
        new file:   Assets/Scripts/CatLikeLegacy/FireTrail.cs.meta


... etc. meta files

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        .idea/
        .vscode/
        Assets/Build.meta
        Assets/Build/provinces.png.meta
        Assets/Build/provincesReference.png.meta
        Assets/Materials.meta

...etc ignored files .meta in common

When file created or moved git should automatically track this file.

Created files in Unity are not added to the git (Rider) by default

When I create files in Unity editor or move already created files to another folder etc. - these files are not added to git by default. I have to manually add them to git in the Rider IDE. This becomes very annoing when I want to refactor project structure or when I add some prefabs and assets etc.

In Rider Settings -> Version Control -> Confirmation I tried "silent: and "show options..." options, but to no avail. Also if I create file in Rider project structure It will be added by default.

gitignore file:

# This .gitignore file should be placed at the root of your Unity project directory

/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/

# Never ignore Asset meta data
!/[Aa]ssets/**/*.meta

# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

# TextMesh Pro files
[Aa]ssets/TextMesh*Pro/

# Visual Studio cache directory
.vs/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.unitypackage

# Crashlytics generated file
crashlytics-build.properties

git status command (.meta files were added to git when I marked whole folder to be added to git with this problem):

        new file:   Assets/Scripts/CatLikeLegacy.meta
        new file:   Assets/Scripts/CatLikeLegacy/EdgeVertices.cs.meta
        new file:   Assets/Scripts/CatLikeLegacy/FireTrail.cs.meta


... etc. meta files

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        .idea/
        .vscode/
        Assets/Build.meta
        Assets/Build/provinces.png.meta
        Assets/Build/provincesReference.png.meta
        Assets/Materials.meta

...etc ignored files .meta in common

When file created or moved git should automatically track this file.

Created files in Unity are not added to the git (Rider) automatically

When I create files in Unity editor or move already created files to another folder etc. - these files are not added to git by default. I have to manually add them to git in the Rider IDE. This becomes very annoing when I want to refactor project structure or when I add some prefabs and assets etc.

In Rider Settings -> Version Control -> Confirmation I tried "silent: and "show options..." options, but to no avail. Also if I create file in Rider project structure It will be added by default.

gitignore file:

# This .gitignore file should be placed at the root of your Unity project directory

/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/

# Never ignore Asset meta data
!/[Aa]ssets/**/*.meta

# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

# TextMesh Pro files
[Aa]ssets/TextMesh*Pro/

# Visual Studio cache directory
.vs/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.unitypackage

# Crashlytics generated file
crashlytics-build.properties

git status command (.meta files were added to git when I marked whole folder to be added to git with this problem):

        new file:   Assets/Scripts/CatLikeLegacy.meta
        new file:   Assets/Scripts/CatLikeLegacy/EdgeVertices.cs.meta
        new file:   Assets/Scripts/CatLikeLegacy/FireTrail.cs.meta


... etc. meta files

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        .idea/
        .vscode/
        Assets/Build.meta
        Assets/Build/provinces.png.meta
        Assets/Build/provincesReference.png.meta
        Assets/Materials.meta

...etc ignored files .meta in common

When file created or moved git should automatically track this file.

added 660 characters in body
Source Link

When I create files in Unity editor or move already created files to another folder etc. - these files are not added to git by default. I have to manually add them to git in the Rider IDE. This becomes very annoing when I want to refactor project structure or when I add some prefabs and assets etc.

In Rider Settings -> Version Control -> Confirmation I tried "silent: and "show options..." options, but to no avail. Also if I create file in Rider project structure It will be added by default.

gitignore file:

# This .gitignore file should be placed at the root of your Unity project directory

/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/

# Never ignore Asset meta data
!/[Aa]ssets/**/*.meta

# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

# TextMesh Pro files
[Aa]ssets/TextMesh*Pro/

# Visual Studio cache directory
.vs/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.unitypackage

# Crashlytics generated file
crashlytics-build.properties

git status command (.meta files were added to git when I marked whole folder to be added to git with this problem):

        new file:   Assets/Scripts/CatLikeLegacy.meta
        new file:   Assets/Scripts/CatLikeLegacy/EdgeVertices.cs.meta
        new file:   Assets/Scripts/CatLikeLegacy/FireTrail.cs.meta


... etc. meta files

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        .idea/
        .vscode/
        Assets/Build.meta
        Assets/Build/provinces.png.meta
        Assets/Build/provincesReference.png.meta
        Assets/Materials.meta

...etc ignored files .meta in common

When file created or moved git should automatically track this file.

When I create files in Unity editor or move already created files to another folder etc. - these files are not added to git by default. I have to manually add them to git in the Rider IDE. This becomes very annoing when I want to refactor project structure or when I add some prefabs and assets etc.

In Rider Settings -> Version Control -> Confirmation I tried "silent: and "show options..." options, but to no avail. Also if I create file in Rider project structure It will be added by default.

gitignore file:

# This .gitignore file should be placed at the root of your Unity project directory

/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/

# Never ignore Asset meta data
!/[Aa]ssets/**/*.meta

# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

# TextMesh Pro files
[Aa]ssets/TextMesh*Pro/

# Visual Studio cache directory
.vs/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.unitypackage

# Crashlytics generated file
crashlytics-build.properties

When file created or moved git should automatically track this file.

When I create files in Unity editor or move already created files to another folder etc. - these files are not added to git by default. I have to manually add them to git in the Rider IDE. This becomes very annoing when I want to refactor project structure or when I add some prefabs and assets etc.

In Rider Settings -> Version Control -> Confirmation I tried "silent: and "show options..." options, but to no avail. Also if I create file in Rider project structure It will be added by default.

gitignore file:

# This .gitignore file should be placed at the root of your Unity project directory

/[Ll]ibrary/
/[Tt]emp/
/[Oo]bj/
/[Bb]uild/
/[Bb]uilds/
/[Ll]ogs/

# Never ignore Asset meta data
!/[Aa]ssets/**/*.meta

# Uncomment this line if you wish to ignore the asset store tools plugin
# /[Aa]ssets/AssetStoreTools*

# TextMesh Pro files
[Aa]ssets/TextMesh*Pro/

# Visual Studio cache directory
.vs/

# Gradle cache directory
.gradle/

# Autogenerated VS/MD/Consulo solution and project files
ExportedObj/
.consulo/
*.csproj
*.unityproj
*.sln
*.suo
*.tmp
*.user
*.userprefs
*.pidb
*.booproj
*.svd
*.pdb
*.mdb
*.opendb
*.VC.db

# Unity3D generated meta files
*.pidb.meta
*.pdb.meta
*.mdb.meta

# Unity3D generated file on crash reports
sysinfo.txt

# Builds
*.apk
*.unitypackage

# Crashlytics generated file
crashlytics-build.properties

git status command (.meta files were added to git when I marked whole folder to be added to git with this problem):

        new file:   Assets/Scripts/CatLikeLegacy.meta
        new file:   Assets/Scripts/CatLikeLegacy/EdgeVertices.cs.meta
        new file:   Assets/Scripts/CatLikeLegacy/FireTrail.cs.meta


... etc. meta files

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        .idea/
        .vscode/
        Assets/Build.meta
        Assets/Build/provinces.png.meta
        Assets/Build/provincesReference.png.meta
        Assets/Materials.meta

...etc ignored files .meta in common

When file created or moved git should automatically track this file.

Source Link
Loading