smartstore / Smartstore

A modular, scalable and ultra-fast open-source all-in-one eCommerce platform built on ASP.NET Core 7
http://www.smartstore.com/
GNU Affero General Public License v3.0
1.16k stars 427 forks source link

gitignore symlinks to module themes #705

Closed Algorithman closed 1 year ago

Algorithman commented 1 year ago

Is your feature request related to a problem? Please describe. At the moment git always tells me I have a new folder in Themes (my theme). Please add something like

src/Smartstore.Web/Themes/*
!src/Smartstore.Web/Themes/Flex/
!src/Smartstore.Web/Themes/FlexBlue/
!src/Smartstore.Web/Themes/FlexBlack/

This should fix the issue and still keep the original Flex-Themes-Folders in the repo.

muratcakir commented 1 year ago

Just a small note: any directory that ends with -sym is gitignored by default.

Algorithman commented 1 year ago

I've seen the entry, but since smartstore creates the symlink in the themes folder by itself, it should be ignored properly. Just stumbled over it today since I tried to find a way to keep the repo completely clean (including the solution file) and still have my module in for debugging. Found a way (thanks dotnet sln) but the symlink was left over.