✅ .gitignore file not ignoring .ddl files in rider
Hello guys, I generated a
dotnet new gitigignore
file but it seems that the .ddl files aren't ignored, is that normal? Have a look in the picture.
3 Replies
dotnet new gitignore
creates a gitignore designed for .NET projects
you can modify it to tailor it to your project
a .gitignore will also not cause tracked files to stop being tracked, if you already committed build artifacts you have to remove them manuallyIf you already have all the files tracked by Git, a gitignore won't un-track them
git rm -r --cached
will un-track all files, then git add .
will track them all again, this time according to the gitignoreoh ok I see
Yeah it works, thanks guys, really appreciate 💯
Thanks for the command, it will be useful in the future, will just note it down