Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Is there any example of gitignore file for umbraco 8 visual studio project?
For Umbraco 7, I've always referenced https://github.com/github/gitignore/blob/master/Umbraco.gitignore
It might work for v8 as well.
Its been i while i didnt need it, now I am again back to it.
I have one more question, do you combine that gitigignore file with default visual studio gitignore, or you just delete vs default one and paste this one?
there is a slight change needed for Umbraco V8, see pull request on github.
The change is to not ignore the new umbraco > views > packages folder and contents. By default it will be ignored.
I merge them, need the vstudio stuff also so you don't end up with a bunch of junk.
If you are ignoring the /Umbraco folder, the exclusion definitions (!) don't work in the file at https://github.com/github/gitignore/blob/master/Umbraco.gitignore
If you ignore a folder (/[Uu]mbraco/) no amount of exclusions will work under that folder so !/[Uu]mbraco/[Vv]iews/[Pp]ackages/* will never work.
The following will work by ignoring everything under the Umbraco folder but not ignoring the actual folder.
You must then exclude each folder in the path and then the contents of the final path.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted